[llvm] [NFC][TableGen] Adopt CodeGenHelpers in SDNodeInfoEmitter (PR #165622)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 4 10:12:16 PST 2025
================
@@ -7,13 +7,11 @@ def MyTarget : Target;
def my_noop : SDNode<"MyTargetISD::NOOP", SDTypeProfile<0, 0, []>>;
// CHECK: namespace llvm::MyTargetISD {
-// CHECK-EMPTY:
// CHECK-NEXT: enum GenNodeType : unsigned {
// CHECK-NEXT: NOOP = ISD::BUILTIN_OP_END,
// CHECK-NEXT: };
// CHECK-EMPTY:
// CHECK-NEXT: static constexpr unsigned GENERATED_OPCODE_END = NOOP + 1;
-// CHECK-EMPTY:
----------------
jurahul wrote:
Done, there' still an extra empty line due to the use of a raw string literal in `StringToOffsetTable::EmitStringTableDef`, which we should try to eliminate. But will do that separately.
https://github.com/llvm/llvm-project/pull/165622
More information about the llvm-commits
mailing list