va_args support for Win64.
[oota-llvm.git] / test / CodeGen / X86 / fast-isel-shift-imm.ll
index 7d8c9f5e002c57fe4dd4a640b2b86e4fc49c5a82..5c62c1880516e58cf4225729be8a690569fa4001 100644 (file)
@@ -1,7 +1,8 @@
-; RUN: llvm-as < %s | llc -march=x86 -O0 | grep {sarl  \$80, %eax}
+; RUN: llc < %s -march=x86 -O0 | grep {sarl    \$80, %e}
 ; PR3242
 
-define i32 @foo(i32 %x) nounwind {
+define void @foo(i32 %x, i32* %p) nounwind {
   %y = ashr i32 %x, 50000
-  ret i32 %y
+  store i32 %y, i32* %p
+  ret void
 }