[ARM] Ignore GEPs in ARMCodeGenPrepare
ClosedPublic

Authored by samparker on Aug 15 2018, 3:56 AM.

Details

Summary

While searching through the use-def tree, ignore GetElementPtrInst instructions because they don't need promoting and neither do their indices. Otherwise, the wide indices prevent the transformation from happening.

Diff Detail

Repository
rL LLVM
samparker created this revision.Aug 15 2018, 3:56 AM
SjoerdMeijer accepted this revision.Aug 16 2018, 3:44 AM

Looks like a straightforward fix to me.

This revision is now accepted and ready to land.Aug 16 2018, 3:44 AM
Closed by commit rL339871: [ARM] Ignore GEPs in ARMCodeGenPrepare (authored by sam_parker, committed by ). · Explain WhyAug 16 2018, 5:25 AM
This revision was automatically updated to reflect the committed changes.