Recommit r231324 with a fix to the ARM execution domain code
authorEric Christopher <echristo@gmail.com>
Sat, 7 Mar 2015 00:12:22 +0000 (00:12 +0000)
committerEric Christopher <echristo@gmail.com>
Sat, 7 Mar 2015 00:12:22 +0000 (00:12 +0000)
commit5dc2251b4e19836a8e5be42c8a4d99311a11e3d0
tree636cbf576c3e170107243c177ff7dc3189f27300
parent85ef565b6ec9229dca75e863ae2c22fb895498ce
Recommit r231324 with a fix to the ARM execution domain code
to disable lane switching if we don't actually have the instruction
set we want to switch to. Models the earlier check above the
conditional for the pass.

The testcase is one that triggered with the assert that's added
as part of the fix, use it to avoid adding a new testcase as it
highlights the same problem.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231539 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMBaseInstrInfo.cpp
lib/Target/ARM/ARMTargetMachine.cpp
test/CodeGen/ARM/2007-01-19-InfiniteLoop.ll