summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/fast-cc-merge-stack-adj.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-10-24 01:58:48 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-10-24 01:58:48 +0000
commit4e6e537314b57fa5323c9ddb6da2857146676e08 (patch)
tree2f30ec71c1757e1cb141e1fc40d73ef1e0cbe405 /llvm/test/CodeGen/X86/fast-cc-merge-stack-adj.ll
parent44818163ed98ae4d299e87c703344267ce8ed6a9 (diff)
downloadbcm5719-llvm-4e6e537314b57fa5323c9ddb6da2857146676e08.tar.gz
bcm5719-llvm-4e6e537314b57fa5323c9ddb6da2857146676e08.zip
Change x86_fastcallcc to require inreg markers. This allows it to known
the difference from "int x" (which should go in registers and "struct y {int x;}" (which should not). Clang will be updated in the next patches. llvm-svn: 166536
Diffstat (limited to 'llvm/test/CodeGen/X86/fast-cc-merge-stack-adj.ll')
-rw-r--r--llvm/test/CodeGen/X86/fast-cc-merge-stack-adj.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/fast-cc-merge-stack-adj.ll b/llvm/test/CodeGen/X86/fast-cc-merge-stack-adj.ll
index 14cb136f89d..d591f9408b1 100644
--- a/llvm/test/CodeGen/X86/fast-cc-merge-stack-adj.ll
+++ b/llvm/test/CodeGen/X86/fast-cc-merge-stack-adj.ll
@@ -3,7 +3,7 @@
target triple = "i686-pc-linux-gnu"
-declare x86_fastcallcc void @func(i32*, i64)
+declare x86_fastcallcc void @func(i32*, i64 inreg)
define x86_fastcallcc void @caller(i32, i64) {
%X = alloca i32 ; <i32*> [#uses=1]
OpenPOWER on IntegriCloud