]> granicus.if.org Git - llvm/commit
[ARM] Don't replicate instructions in Ifcvt at minsize
authorDavid Green <david.green@arm.com>
Tue, 23 Apr 2019 11:46:58 +0000 (11:46 +0000)
committerDavid Green <david.green@arm.com>
Tue, 23 Apr 2019 11:46:58 +0000 (11:46 +0000)
commitdecd03f0859403d011a1d2a39394849aa4e8c027
tree7be624ffacd886306e92a9521170d66164ea33cc
parent2429cc586ef907dd4d3bb96e85481225e52b527f
[ARM] Don't replicate instructions in Ifcvt at minsize

Ifcvt can replicate instructions as it converts them to be predicated. This
stops that from happening on thumb2 targets at minsize where an extra IT
instruction is likely needed.

Differential Revision: https://reviews.llvm.org/D60089

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358974 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.cpp
test/CodeGen/Thumb2/ifcvt-minsize.ll [new file with mode: 0644]