BIC is generally faster, and it can put the output in a different register from the input.
We already do this in Thumb2 mode; not sure why the equivalent fix never got applied to ARM mode.
Paths
| Differential D31797
[ARM] Prefer BIC over BFC in ARM mode. ClosedPublic Authored by efriedma on Apr 6 2017, 4:49 PM.
Details Summary BIC is generally faster, and it can put the output in a different register from the input. We already do this in Thumb2 mode; not sure why the equivalent fix never got applied to ARM mode.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 7 2017, 12:10 AM Closed by commit rL299803: [ARM] Prefer BIC over BFC in ARM mode. (authored by efriedma). · Explain WhyApr 7 2017, 3:14 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 94571 llvm/trunk/lib/Target/ARM/ARMInstrInfo.td
llvm/trunk/test/CodeGen/ARM/2012-10-04-AAPCS-byval-align8.ll
llvm/trunk/test/CodeGen/ARM/bfi.ll
llvm/trunk/test/CodeGen/ARM/bic.ll
llvm/trunk/test/CodeGen/ARM/fp16-promote.ll
llvm/trunk/test/CodeGen/ARM/fpcmp-opt.ll
llvm/trunk/test/CodeGen/ARM/softfp-fabs-fneg.ll
llvm/trunk/test/CodeGen/ARM/va_arg.ll
|