[ARMv8] Prevent generation of deprecated IT blocks on ARMv8 in Thumb mode.
authorJoey Gouly <joey.gouly@arm.com>
Mon, 9 Sep 2013 14:21:49 +0000 (14:21 +0000)
committerJoey Gouly <joey.gouly@arm.com>
Mon, 9 Sep 2013 14:21:49 +0000 (14:21 +0000)
commita5153cb0255bd2c9e0476642643e283ec9a7523c
treed7e5e2bf9f9e9842e418a46429ce803244aeaf4a
parent83d81784df07834783f44294766e340f37f7873b
[ARMv8] Prevent generation of deprecated IT blocks on ARMv8 in Thumb mode.
IT blocks can only be one instruction lonf, and can only contain a subset of
the 16 instructions.

Patch by Artyom Skrobov!

llvm-svn: 190309
15 files changed:
llvm/lib/CodeGen/IfConversion.cpp
llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
llvm/lib/Target/ARM/ARMFastISel.cpp
llvm/lib/Target/ARM/ARMTargetMachine.cpp
llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp
llvm/test/CodeGen/ARM/2013-05-05-IfConvertBug.ll
llvm/test/CodeGen/ARM/arm-and-tst-peephole.ll
llvm/test/CodeGen/ARM/fast-isel-select.ll
llvm/test/CodeGen/ARM/indirectbr.ll
llvm/test/CodeGen/ARM/thumb2-it-block.ll
llvm/test/CodeGen/Thumb2/v8_IT_1.ll [new file with mode: 0644]
llvm/test/CodeGen/Thumb2/v8_IT_2.ll [new file with mode: 0644]
llvm/test/CodeGen/Thumb2/v8_IT_3.ll [new file with mode: 0644]
llvm/test/CodeGen/Thumb2/v8_IT_4.ll [new file with mode: 0644]
llvm/test/CodeGen/Thumb2/v8_IT_5.ll [new file with mode: 0644]