summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2014-02-12 22:17:10 +0000
committerJuergen Ributzka <juergen@apple.com>2014-02-12 22:17:10 +0000
commit586004f9188cc759bfd60dc62b3ae0c5261ef373 (patch)
treecc1425d8a02e459500a01586f6a4f4a2b07a0c2f /include
parent4839a7de4b4ab932c25b67324b629cefa3b230cd (diff)
downloadllvm-586004f9188cc759bfd60dc62b3ae0c5261ef373.tar.gz
llvm-586004f9188cc759bfd60dc62b3ae0c5261ef373.tar.bz2
llvm-586004f9188cc759bfd60dc62b3ae0c5261ef373.tar.xz
[Stackmaps] Fix the ID type to be i64 also for stackmaps (as we claim in the documenation)
The ID type for the stackmap and patchpoint intrinsics are in both cases i64. This fixes an zero extend in the SelectionDAGBuilder that still used i32. This also updates the target independent instructions STACKMAP and PATCHPOINT to use the correct type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/Target.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/Target.td b/include/llvm/Target/Target.td
index fb3e764e5b..55b65d0135 100644
--- a/include/llvm/Target/Target.td
+++ b/include/llvm/Target/Target.td
@@ -814,14 +814,14 @@ def LIFETIME_END : Instruction {
}
def STACKMAP : Instruction {
let OutOperandList = (outs);
- let InOperandList = (ins i32imm:$id, i32imm:$nbytes, variable_ops);
+ let InOperandList = (ins i64imm:$id, i32imm:$nbytes, variable_ops);
let isCall = 1;
let mayLoad = 1;
let usesCustomInserter = 1;
}
def PATCHPOINT : Instruction {
let OutOperandList = (outs unknown:$dst);
- let InOperandList = (ins i32imm:$id, i32imm:$nbytes, unknown:$callee,
+ let InOperandList = (ins i64imm:$id, i32imm:$nbytes, unknown:$callee,
i32imm:$nargs, i32imm:$cc, variable_ops);
let isCall = 1;
let mayLoad = 1;