Fix a crash in the legalization of large vectors.
[oota-llvm.git] / test / CodeGen / X86 / x86-64-shortint.ll
index d1364508d11b6889beeaf06fbefd8b00908a373e..cbf658888ceda3e31b2f1a2a370b8cf62fefa20b 100644 (file)
@@ -1,12 +1,12 @@
-; RUN: llvm-as < %s | llc | grep movswl
+; RUN: llc < %s | grep movswl
 
 target datalayout = "e-p:64:64"
 target triple = "x86_64-apple-darwin8"
 
 
-define void @bar(i16 zext  %A) {
-        tail call void @foo( i16 %A sext  )
+define void @bar(i16 zeroext  %A) {
+        tail call void @foo( i16 signext %A   )
         ret void
 }
-declare void @foo(i16 sext )
+declare void @foo(i16 signext )