[ARM] Fix IT block generation after Thumb2SizeReduce with -Oz
authorNicholas Guy <nicholas.guy@arm.com>
Thu, 29 Oct 2020 13:58:39 +0000 (13:58 +0000)
committerNicholas Guy <nicholas.guy@arm.com>
Thu, 29 Oct 2020 15:17:31 +0000 (15:17 +0000)
commiteb9fe24eaf2d602a5b5b59d253ad4946d850bd54
tree337ea230bcbe7aaa76888fd2eea27f034547d210
parent7b8de9fc6bce01daed49d3f6a8bd71a25e8c717f
[ARM] Fix IT block generation after Thumb2SizeReduce with -Oz

Fixes a regression caused by D82439, in which IT blocks were no longer being generated when -Oz is present.

Differential Revision: https://reviews.llvm.org/D88496
llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
llvm/test/CodeGen/Thumb2/constant-hoisting.ll
llvm/test/CodeGen/Thumb2/ifcvt-dead-predicate.mir