This is an archive of the discontinued LLVM Phabricator instance.

[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

Event Timeline

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
This revision was automatically updated to reflect the committed changes.