[X86][SSE] Added lzcnt vector tests.
[oota-llvm.git] / test / CodeGen / X86 / 2009-03-16-PHIElimInLPad.ll
index da493d4910e163af39915ce3620a259dc5b05879..f8c7a151b2c9d37d3caf6a00b78c2cbce121b2f1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -asm-verbose | FileCheck %s
+; 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()
@@ -17,8 +17,12 @@ cont2:               ; preds = %cont
 
 lpad:          ; preds = %cont, %entry
        %v = phi i32 [ %x, %entry ], [ %a, %cont ]              ; <i32> [#uses=1]
+        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+                 cleanup
        ret i32 %v
 }
 
 ; CHECK: lpad
 ; CHECK-NEXT: Ltmp
+
+declare i32 @__gxx_personality_v0(...)