[clang] [Clang][TableGen] Change NeonEmitter to use const Record * (PR #110597)

Rahul Joshi via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 1 09:30:15 PDT 2024


================
@@ -1195,10 +1193,10 @@ void SVEEmitter::createIntrinsic(
   for (auto TS : TypeSpecs) {
     // Collate a list of range/option checks for the immediates.
     SmallVector<ImmCheck, 2> ImmChecks;
-    for (auto *R : ImmCheckList) {
-      int64_t ArgIdx = R->getValueAsInt("ImmArgIdx");
-      int64_t EltSizeArgIdx = R->getValueAsInt("TypeContextArgIdx");
-      int64_t Kind = R->getValueAsDef("Kind")->getValueAsInt("Value");
+    for (auto ImmR : R->getValueAsListOfConstDefs("ImmChecks")) {
----------------
jurahul wrote:

Done

https://github.com/llvm/llvm-project/pull/110597


More information about the cfe-commits mailing list