[ARM] Unrestrict Armv8-a IT when at minsize
authorSam Parker <sam.parker@arm.com>
Mon, 10 Aug 2020 12:23:37 +0000 (13:23 +0100)
committerSam Parker <sam.parker@arm.com>
Mon, 10 Aug 2020 13:59:53 +0000 (14:59 +0100)
commit4f9f4b21e07ba8137b40659ac5d3955586ce81bb
treee427c672dd65a90c6f33833cf617248e7539dbc0
parentca05601cd2a1b75050538ef2e78de205f1300692
[ARM] Unrestrict Armv8-a IT when at minsize

IT blocks with more than one instruction were performance deprecated in Armv8
but that doesn't mean we should follow that advise when optimising for size.

Differential Revision: https://reviews.llvm.org/D85638
llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
llvm/lib/Target/ARM/ARMSubtarget.cpp
llvm/test/CodeGen/ARM/codesize-ifcvt.mir
llvm/test/CodeGen/ARM/ifcvt-size.mir