Mercurial > hg > CbC > CbC_llvm
comparison llvm/test/TableGen/intrinsic-pointer-to-any.td @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children | c4bab56944e8 |
comparison
equal
deleted
inserted
replaced
173:0572611fdcc8 | 207:2e18cbf3894f |
---|---|
4 // llvm_any_ty still properly work after r363233. That patch rewrote the | 4 // llvm_any_ty still properly work after r363233. That patch rewrote the |
5 // substitution handling code in the Intrinsic Emitter, and didn't consider this | 5 // substitution handling code in the Intrinsic Emitter, and didn't consider this |
6 // case, so TableGen would hit an assertion in EncodeFixedType that was checking | 6 // case, so TableGen would hit an assertion in EncodeFixedType that was checking |
7 // to ensure that the substitution being processed was correctly replaced. | 7 // to ensure that the substitution being processed was correctly replaced. |
8 | 8 |
9 class IntrinsicProperty; | 9 class IntrinsicProperty<bit is_default = 0> { |
10 bit IsDefault = is_default; | |
11 } | |
12 | |
10 class SDNodeProperty; | 13 class SDNodeProperty; |
11 | 14 |
12 class ValueType<int size, int value> { | 15 class ValueType<int size, int value> { |
13 string Namespace = "MVT"; | 16 string Namespace = "MVT"; |
14 int Size = size; | 17 int Size = size; |
30 list<LLVMType> RetTypes = ret_types; | 33 list<LLVMType> RetTypes = ret_types; |
31 list<LLVMType> ParamTypes = []; | 34 list<LLVMType> ParamTypes = []; |
32 list<IntrinsicProperty> IntrProperties = []; | 35 list<IntrinsicProperty> IntrProperties = []; |
33 list<SDNodeProperty> Properties = []; | 36 list<SDNodeProperty> Properties = []; |
34 bit isTarget = 0; | 37 bit isTarget = 0; |
38 bit DisableDefaultAttributes = 1; | |
35 } | 39 } |
36 | 40 |
37 class LLVMQualPointerType<LLVMType elty> | 41 class LLVMQualPointerType<LLVMType elty> |
38 : LLVMType<iPTR>{ | 42 : LLVMType<iPTR>{ |
39 LLVMType ElTy = elty; | 43 LLVMType ElTy = elty; |