[llvm] 4e3c872 - llvm/test/TableGen/intrinsic-pointer-to-any.td: Rework D125247.
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 14 07:49:26 PDT 2023
Author: NAKAMURA Takumi
Date: 2023-03-14T23:48:14+09:00
New Revision: 4e3c8720c0da2614b25e32dd473b3fa5da3e2592
URL: https://github.com/llvm/llvm-project/commit/4e3c8720c0da2614b25e32dd473b3fa5da3e2592
DIFF: https://github.com/llvm/llvm-project/commit/4e3c8720c0da2614b25e32dd473b3fa5da3e2592.diff
LOG: llvm/test/TableGen/intrinsic-pointer-to-any.td: Rework D125247.
It should've updated the number of `def i8 : ValueType<8, 3>;` to `5`,
since it renumbered ValueTypes.
FYI, the number 3 is `i2` and `IIT_I2(57)` was chosen in IntrinsicEmitter.
Added:
Modified:
llvm/test/TableGen/intrinsic-pointer-to-any.td
Removed:
################################################################################
diff --git a/llvm/test/TableGen/intrinsic-pointer-to-any.td b/llvm/test/TableGen/intrinsic-pointer-to-any.td
index ca977d7b5078c..77001c415aa5d 100644
--- a/llvm/test/TableGen/intrinsic-pointer-to-any.td
+++ b/llvm/test/TableGen/intrinsic-pointer-to-any.td
@@ -50,8 +50,8 @@ class LLVMPointerType<LLVMType elty>
let isAny = 1 in {
def llvm_any_ty : LLVMType<Any>;
}
-def i8 : ValueType<8, 3>;
+def i8 : ValueType<8, 5>;
def llvm_i8_ty : LLVMType<i8>;
def int_has_ptr_to_any : Intrinsic<[LLVMPointerType<llvm_any_ty>, llvm_i8_ty]>;
-// CHECK: /* 0 */ 21, 14, 15, 0, 57, 0
+// CHECK: /* 0 */ 21, 14, 15, 0, 2, 0
More information about the llvm-commits
mailing list