X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2Fx86-64-shortint.ll;h=cbf658888ceda3e31b2f1a2a370b8cf62fefa20b;hb=5589a69f0abd39e583786515cf6c9170554dc8de;hp=d1364508d11b6889beeaf06fbefd8b00908a373e;hpb=5373b721c0c76c54f948b9097ba7f4737dbab730;p=oota-llvm.git diff --git a/test/CodeGen/X86/x86-64-shortint.ll b/test/CodeGen/X86/x86-64-shortint.ll index d1364508d11..cbf658888ce 100644 --- a/test/CodeGen/X86/x86-64-shortint.ll +++ b/test/CodeGen/X86/x86-64-shortint.ll @@ -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 )