Add a test case to check handling of dbg-declare by fast-isel.
[oota-llvm.git] / test / CodeGen / X86 / 2009-03-16-PHIElimInLPad.ll
index c079ae737253c69d51e51995be020e427dc72586..b13d33eb3fd918ca8276514f5ee155596d8cdb24 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=x86 | grep -A 1 lpad | grep Llabel
+; RUN: llc < %s -mtriple=i686-linux -asm-verbose | FileCheck %s
 ; Check that register copies in the landing pad come after the EH_LABEL
 
 declare i32 @f()
@@ -19,3 +19,6 @@ lpad:         ; preds = %cont, %entry
        %v = phi i32 [ %x, %entry ], [ %a, %cont ]              ; <i32> [#uses=1]
        ret i32 %v
 }
+
+; CHECK: lpad
+; CHECK-NEXT: Ltmp