llvm: fix crashes when loading a struct field

The result of buildStructGEP is not always a GEP (sorry), so we can't
use getGEPResultElementType on it.

Closes #14641
0543def52fJacob Young committed on 3/30/2023, 8:54:24 AM· committed by Veikka Tuominenparentff97bd2
5 files changedLine totals unavailable