This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Allow bitcasts in ARMCodeGenPrepare
ClosedPublic

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

Details

Summary

Allow bitcasts in the use-def chains, treating them as leaves.

Diff Detail

Repository
rL LLVM

Event Timeline

samparker created this revision.Aug 15 2018, 2:05 AM
SjoerdMeijer added inline comments.Sep 11 2018, 7:01 AM
test/CodeGen/ARM/arm-cgp-casts.ll
17 ↗(On Diff #160757)

What does this exactly mean (the 'could')? Is this not yet supported and will it be added later, or do we need to add tags CHECK-DSP-IMM here? I guess the latter, because I don't see CHECK-DSP-IMM being used.

samparker added inline comments.Sep 11 2018, 7:11 AM
test/CodeGen/ARM/arm-cgp-casts.ll
17 ↗(On Diff #160757)

Right, I've just wanted to note what we could produce when we support the truncs properly.

This revision is now accepted and ready to land.Sep 11 2018, 7:22 AM
This revision was automatically updated to reflect the committed changes.
llvm/trunk/test/CodeGen/ARM/arm-cgp-casts.ll