summaryrefslogtreecommitdiff
path: root/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
commit847a9c6d778b3209683a92fcb37708b2e8b08f3f (patch)
tree22f2c5e0ca88f3b7bcaddf2710e3f6a71e3462be /test/CodeGen/X86/fast-cc-merge-stack-adj.ll
parentadf38913f815a2a453d4783e88b1528473b4740d (diff)
downloadllvm-847a9c6d778b3209683a92fcb37708b2e8b08f3f.tar.gz
llvm-847a9c6d778b3209683a92fcb37708b2e8b08f3f.tar.bz2
llvm-847a9c6d778b3209683a92fcb37708b2e8b08f3f.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fast-cc-merge-stack-adj.ll')
-rw-r--r--test/CodeGen/X86/fast-cc-merge-stack-adj.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/fast-cc-merge-stack-adj.ll b/test/CodeGen/X86/fast-cc-merge-stack-adj.ll
index 14cb136f89..d591f9408b 100644
--- a/test/CodeGen/X86/fast-cc-merge-stack-adj.ll
+++ b/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]