We previously only allowed truncs as sinks, but now allow them as sources too. We do this by checking that the result type is the narrow type that we're trying to optimise for.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D51978
[ARM] Allow truncs as sources in ARM CGP ClosedPublic Authored by samparker on Sep 12 2018, 5:01 AM.
Details Summary We previously only allowed truncs as sinks, but now allow them as sources too. We do this by checking that the result type is the narrow type that we're trying to optimise for.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 13 2018, 1:34 AM Closed by commit rL342141: [ARM] Allow truncs as sources in ARM CGP (authored by sam_parker). · Explain WhySep 13 2018, 8:15 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 165300 llvm/trunk/lib/Target/ARM/ARMCodeGenPrepare.cpp
llvm/trunk/test/CodeGen/ARM/arm-cgp-casts.ll
|