summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2018-02-20 11:07:35 +0000
committerDavid Green <david.green@arm.com>2018-02-20 11:07:35 +0000
commit056476497eae191c8e275f0a7a9547f1c1c87feb (patch)
tree5407b4741783c33ed8e095bbb53f0934fec30eb3 /clang/lib/CodeGen/CodeGenModule.cpp
parent76e5023dd3cbad6be47944b7fe8d075a148e11ef (diff)
downloadbcm5719-llvm-056476497eae191c8e275f0a7a9547f1c1c87feb.tar.gz
bcm5719-llvm-056476497eae191c8e275f0a7a9547f1c1c87feb.zip
[ARM] Mark -1 as cheap in xor's for thumb1
We can always convert xor %a, -1 into MVN, even in thumb 1 where the -1 would not otherwise be considered a cheap constant. This prevents the -1's from being pulled out into constants and potentially hoisted. Differential Revision: https://reviews.llvm.org/D43451 llvm-svn: 325573
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud