This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Allow zext in ARMCodeGenPrepare
ClosedPublic

Authored by samparker on Aug 15 2018, 2:59 AM.

Details

Summary

Treat zext instructions as roots, like we do for truncs.

Diff Detail

Repository
rL LLVM

Event Timeline

samparker created this revision.Aug 15 2018, 2:59 AM
SjoerdMeijer accepted this revision.Aug 16 2018, 3:54 AM

Looks okay to me.

test/CodeGen/ARM/arm-cgp-zext-truncs.ll
88 ↗(On Diff #160759)

typo: Won't don't

This revision is now accepted and ready to land.Aug 16 2018, 3:54 AM
This revision was automatically updated to reflect the committed changes.