summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/stdcall.ll
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2014-01-08 12:58:07 +0000
committerDavid Woodhouse <dwmw2@infradead.org>2014-01-08 12:58:07 +0000
commit79dd505ce17b8e05f1759b6c17ac79204a2be4cf (patch)
tree32cceb22b7b8d5036659dc9dfc00d376e7e257e1 /llvm/test/CodeGen/X86/stdcall.ll
parentc178fbe2a26e9584fae287d2db064c1c194f24a2 (diff)
downloadbcm5719-llvm-79dd505ce17b8e05f1759b6c17ac79204a2be4cf.tar.gz
bcm5719-llvm-79dd505ce17b8e05f1759b6c17ac79204a2be4cf.zip
[x86] Disambiguate RET[QL] and fix aliases for 16-bit mode
I couldn't see how to do this sanely without splitting RETQ from RETL. Eric says: "sad about the inability to roundtrip them now, but...". I have no idea what that means, but perhaps it wants preserving in the commit comment. llvm-svn: 198756
Diffstat (limited to 'llvm/test/CodeGen/X86/stdcall.ll')
-rw-r--r--llvm/test/CodeGen/X86/stdcall.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/stdcall.ll b/llvm/test/CodeGen/X86/stdcall.ll
index 73826ed0b29..3cefe14fe0d 100644
--- a/llvm/test/CodeGen/X86/stdcall.ll
+++ b/llvm/test/CodeGen/X86/stdcall.ll
@@ -6,14 +6,14 @@
define internal x86_stdcallcc void @MyFunc() nounwind {
entry:
; CHECK: MyFunc@0:
-; CHECK: ret
+; CHECK: retl
ret void
}
; PR14410
define x86_stdcallcc i32 @"\01DoNotMangle"(i32 %a) {
; CHECK: DoNotMangle:
-; CHECK: ret $4
+; CHECK: retl $4
entry:
ret i32 %a
}
OpenPOWER on IntegriCloud