aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-07-15 23:42:21 +0000
committerBill Wendling <isanbard@gmail.com>2010-07-15 23:42:21 +0000
commita60f0e7f817f170df55371491e246b95b0d8d6b0 (patch)
tree344c2c3d1dafa1d73f9c6342120493cedd016c72 /test
parentbb5d92741b2835eff25e4524bc6a5b0fb4fda855 (diff)
downloadexternal_llvm-a60f0e7f817f170df55371491e246b95b0d8d6b0.zip
external_llvm-a60f0e7f817f170df55371491e246b95b0d8d6b0.tar.gz
external_llvm-a60f0e7f817f170df55371491e246b95b0d8d6b0.tar.bz2
Revert. This isn't the correct way to go.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108478 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll2
-rw-r--r--test/CodeGen/X86/2008-01-25-EmptyFunction.ll13
2 files changed, 3 insertions, 12 deletions
diff --git a/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll b/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll
index ba59309..db2ab87 100644
--- a/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll
+++ b/test/CodeGen/PowerPC/2008-01-25-EmptyFunction.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=ppc32 | grep trap
+; RUN: llc < %s -march=ppc32 | grep nop
target triple = "powerpc-apple-darwin8"
diff --git a/test/CodeGen/X86/2008-01-25-EmptyFunction.ll b/test/CodeGen/X86/2008-01-25-EmptyFunction.ll
index 4baa294..b936686 100644
--- a/test/CodeGen/X86/2008-01-25-EmptyFunction.ll
+++ b/test/CodeGen/X86/2008-01-25-EmptyFunction.ll
@@ -1,17 +1,8 @@
-; RUN: llc < %s -march=x86 | FileCheck -check-prefix=NO-FP %s
-; RUN: llc < %s -march=x86 -disable-fp-elim | FileCheck -check-prefix=FP %s
+; RUN: llc < %s -march=x86 | grep nop
target triple = "i686-apple-darwin8"
-define void @func1() noreturn nounwind {
-entry:
-; NO-FP: ud2
- unreachable
-}
-define void @func2() noreturn nounwind {
+define void @bork() noreturn nounwind {
entry:
-; FP: pushl %ebp
-; FP: movl %esp, %ebp
-; FP: ud2
unreachable
}