summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorKit Barton <kbarton@ca.ibm.com>2015-04-17 16:11:05 +0000
committerKit Barton <kbarton@ca.ibm.com>2015-04-17 16:11:05 +0000
commitf4669f5905fa247b44246c9ea4bc0d49dcbdce71 (patch)
tree2e7024202afdb82d92fb054a19675c0e510c960d /llvm/test
parent6812223c0836c7c25ab551165216581fb410aa08 (diff)
downloadbcm5719-llvm-f4669f5905fa247b44246c9ea4bc0d49dcbdce71.tar.gz
bcm5719-llvm-f4669f5905fa247b44246c9ea4bc0d49dcbdce71.zip
Add support for v1i128 type.
The v1i128 type is needed for the quadword add/substract instructions introduced in POWER8. Futhermore, the PowerPC ABI specifies that parameters of type v1i128 are to be passed in a single vector register, while parameters of type i128 are passed in pairs of GPRs. Thus, it is necessary to be able to differentiate between v1i128 and i128 in LLVM. http://reviews.llvm.org/D8564 llvm-svn: 235198
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/TableGen/intrinsic-varargs.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/TableGen/intrinsic-varargs.td b/llvm/test/TableGen/intrinsic-varargs.td
index 935a6250380..380d79d4a22 100644
--- a/llvm/test/TableGen/intrinsic-varargs.td
+++ b/llvm/test/TableGen/intrinsic-varargs.td
@@ -23,7 +23,7 @@ class Intrinsic<string name, list<LLVMType> param_types = []> {
}
// isVoid needs to match the definition in ValueTypes.td
-def isVoid : ValueType<0, 56>; // Produces no value
+def isVoid : ValueType<0, 57>; // Produces no value
def llvm_vararg_ty : LLVMType<isVoid>; // this means vararg here
// CHECK: /* 0 */ 0, 28, 0,
OpenPOWER on IntegriCloud