[PATCH] D31797: [ARM] Prefer BIC over BFC in ARM mode.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 6 16:49:05 PDT 2017
efriedma created this revision.
Herald added a subscriber: aemerson.
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.
Repository:
rL LLVM
https://reviews.llvm.org/D31797
Files:
lib/Target/ARM/ARMInstrInfo.td
test/CodeGen/ARM/2012-10-04-AAPCS-byval-align8.ll
test/CodeGen/ARM/bfi.ll
test/CodeGen/ARM/bic.ll
test/CodeGen/ARM/fp16-promote.ll
test/CodeGen/ARM/fpcmp-opt.ll
test/CodeGen/ARM/softfp-fabs-fneg.ll
test/CodeGen/ARM/va_arg.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31797.94459.patch
Type: text/x-patch
Size: 5291 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170406/f78a33d9/attachment-0001.bin>
More information about the llvm-commits
mailing list