summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/ehabi-unwind.ll
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-01-24 00:30:17 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-01-24 00:30:17 +0000
commited975232bc929251dd1aeda5d609aa40b0372f5f (patch)
treeaa0eed30178b9f727215f39fb905d10fd2dd32b4 /llvm/test/CodeGen/ARM/ehabi-unwind.ll
parent17bacab4757a205adb2f28a4f24ee315071a1735 (diff)
downloadbcm5719-llvm-ed975232bc929251dd1aeda5d609aa40b0372f5f.tar.gz
bcm5719-llvm-ed975232bc929251dd1aeda5d609aa40b0372f5f.zip
Revert r148686 (and r148694, a fix to it) due to a serious layering
violation -- MC cannot depend on CodeGen. Specifically, the MCTargetDesc component of each target is actually a subcomponent of the MC library. As such, it cannot depend on the target-independent code generator, because MC itself cannot depend on the target-independent code generator. This change moved a flag from the ARM MCTargetDesc file ARMMCAsmInfo.cpp to the CodeGen layer in ARMException.cpp, leaving behind an 'extern' to refer back to it. That layering order isn't viable givin the constraints outlined above. Commandline flags are designed to be static specifically to avoid these types of bugs. Fixing this is likely going to require some non-trivial refactoring. llvm-svn: 148759
Diffstat (limited to 'llvm/test/CodeGen/ARM/ehabi-unwind.ll')
-rw-r--r--llvm/test/CodeGen/ARM/ehabi-unwind.ll5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/ARM/ehabi-unwind.ll b/llvm/test/CodeGen/ARM/ehabi-unwind.ll
index 51595677b70..1ffde00365a 100644
--- a/llvm/test/CodeGen/ARM/ehabi-unwind.ll
+++ b/llvm/test/CodeGen/ARM/ehabi-unwind.ll
@@ -1,8 +1,7 @@
; Test that the EHABI unwind instruction generator does not encounter any
; unfamiliar instructions.
-; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi=full -disable-fp-elim
-; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi=full
-; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi=unwind
+; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi -disable-fp-elim
+; RUN: llc < %s -mtriple=thumbv7 -arm-enable-ehabi
define void @_Z1fv() nounwind {
entry:
OpenPOWER on IntegriCloud