diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-05-21 21:12:43 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-05-21 21:12:43 +0000 |
commit | bd75a9292e761dcab32855e322d9985d7d787d1e (patch) | |
tree | d9857dd141ea2b58fb3deaf36069d8b6f73d2c83 /lib/Target/Mips | |
parent | 477acf64d0a66abe2f4a224b350ee258021a33de (diff) |
[opaque pointer type] Allow gep_type_iterator to work with the pointee type from the GEP instruction
The raw non-instruction/constant form of this is still relying on being
able to access the pointee type from a pointer type - those will be
cleaned up later. For now, just focus on the cases where the pointee
type is easily accessible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips')
-rw-r--r-- | lib/Target/Mips/MipsFastISel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsFastISel.cpp b/lib/Target/Mips/MipsFastISel.cpp index 3ad55e036f7..4faee10744b 100644 --- a/lib/Target/Mips/MipsFastISel.cpp +++ b/lib/Target/Mips/MipsFastISel.cpp @@ -13,6 +13,7 @@ #include "llvm/CodeGen/FunctionLoweringInfo.h" #include "llvm/CodeGen/MachineInstrBuilder.h" #include "llvm/CodeGen/MachineRegisterInfo.h" +#include "llvm/IR/GetElementPtrTypeIterator.h" #include "llvm/IR/GlobalAlias.h" #include "llvm/IR/GlobalVariable.h" #include "llvm/Target/TargetInstrInfo.h" |