[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:07 PDT 2024
================
@@ -1161,11 +1161,9 @@ void SVEEmitter::createIntrinsic(
uint64_t Merge = R->getValueAsInt("Merge");
StringRef MergeSuffix = R->getValueAsString("MergeSuffix");
uint64_t MemEltType = R->getValueAsInt("MemEltType");
- std::vector<Record*> FlagsList = R->getValueAsListOfDefs("Flags");
- std::vector<Record*> ImmCheckList = R->getValueAsListOfDefs("ImmChecks");
int64_t Flags = 0;
- for (auto FlagRec : FlagsList)
+ for (auto FlagRec : R->getValueAsListOfConstDefs("Flags"))
----------------
jurahul wrote:
Agreed, and done.
https://github.com/llvm/llvm-project/pull/110597
More information about the cfe-commits
mailing list