[llvm] [DirectX] Simplify DXIL_OP_INTRINSIC_MAP tablegen'ed code (PR #101248)
Damyan Pepper via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 30 18:10:07 PDT 2024
================
@@ -653,12 +641,18 @@ static void EmitDXILOperation(RecordKeeper &Records, raw_ostream &OS) {
for (auto *Record : OpIntrProps) {
DXILOps.emplace_back(DXILOperationDesc(Record));
}
+ // Sort by opcode.
----------------
damyanp wrote:
Wondering if there's anything in place to catch duplicate entries? Previously I think these would have been quietly swallowed? Now we'd probably get an error in the switch statement. It'd probably be nicer to catch these while running tablegen rather than later?
https://github.com/llvm/llvm-project/pull/101248
More information about the llvm-commits
mailing list