summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2009-03-16-PHIElimInLPad.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-03-16 20:27:20 +0000
committerBill Wendling <isanbard@gmail.com>2009-03-16 20:27:20 +0000
commitdb14d63ceac6d667dc1669d199c01a8d3246203c (patch)
tree4b563a9a331b14307a65d5c161c5fbf38703929a /test/CodeGen/X86/2009-03-16-PHIElimInLPad.ll
parentdfec24c87711bac1564465742012d47bd5984c30 (diff)
--- Reverse-merging (from foreign repository) r67049 into '.':
U test/CodeGen/X86/2009-03-13-PHIElimBug.ll D test/CodeGen/X86/2009-03-16-PHIElimInLPad.ll U lib/CodeGen/PHIElimination.cpp r67049 was causing this failure: Running /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/CodeGen/X86/dg.exp ... FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/CodeGen/X86/2009-03-13-PHIElimBug.ll for PR3784 Failed with exit(1) at line 1 while running: llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/CodeGen/X86/2009-03-13-PHIElimBug.ll | llc -march=x86 | /usr/bin/grep -A 2 {call f} | /usr/bin/grep movl child process exited abnormally git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67051 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2009-03-16-PHIElimInLPad.ll')
-rw-r--r--test/CodeGen/X86/2009-03-16-PHIElimInLPad.ll21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/CodeGen/X86/2009-03-16-PHIElimInLPad.ll b/test/CodeGen/X86/2009-03-16-PHIElimInLPad.ll
deleted file mode 100644
index c079ae73725..00000000000
--- a/test/CodeGen/X86/2009-03-16-PHIElimInLPad.ll
+++ /dev/null
@@ -1,21 +0,0 @@
-; RUN: llvm-as < %s | llc -march=x86 | grep -A 1 lpad | grep Llabel
-; Check that register copies in the landing pad come after the EH_LABEL
-
-declare i32 @f()
-
-define i32 @phi(i32 %x) {
-entry:
- %a = invoke i32 @f()
- to label %cont unwind label %lpad ; <i32> [#uses=1]
-
-cont: ; preds = %entry
- %b = invoke i32 @f()
- to label %cont2 unwind label %lpad ; <i32> [#uses=1]
-
-cont2: ; preds = %cont
- ret i32 %b
-
-lpad: ; preds = %cont, %entry
- %v = phi i32 [ %x, %entry ], [ %a, %cont ] ; <i32> [#uses=1]
- ret i32 %v
-}