[llvm] [DirectX] Simplify DXIL_OP_INTRINSIC_MAP tablegen'ed code (PR #101248)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 19:24:46 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.
----------------
bogner wrote:

Seems like a good idea, I put a check in just after the sort.

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


More information about the llvm-commits mailing list