[llvm] 6beaa12 - [X86] Make use of `null_frag` (NFC) (#115601)

via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 9 06:23:55 PST 2024


Author: Sergei Barannikov
Date: 2024-11-09T17:23:51+03:00
New Revision: 6beaa123a2899f52dd5f37b881d7fc398d70e167

URL: https://github.com/llvm/llvm-project/commit/6beaa123a2899f52dd5f37b881d7fc398d70e167
DIFF: https://github.com/llvm/llvm-project/commit/6beaa123a2899f52dd5f37b881d7fc398d70e167.diff

LOG: [X86] Make use of `null_frag` (NFC) (#115601)

Added: 
    

Modified: 
    llvm/lib/Target/X86/X86InstrUtils.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/X86/X86InstrUtils.td b/llvm/lib/Target/X86/X86InstrUtils.td
index 75bb08d35bd1e2..ab171ac79fb377 100644
--- a/llvm/lib/Target/X86/X86InstrUtils.td
+++ b/llvm/lib/Target/X86/X86InstrUtils.td
@@ -193,10 +193,8 @@ class X86TypeInfo<ValueType vt, string instrsuffix, RegisterClass regclass,
   bit HasREX_W = hasREX_W;
 }
 
-def invalid_node : SDNode<"<<invalid_node>>", SDTIntLeaf,[],"<<invalid_node>>">;
-
 def Xi8  : X86TypeInfo<i8, "b", GR8, loadi8, i8mem, Imm8, i8imm,
-                       imm_su, imm, i8imm, invalid_node, invalid_node,
+                       imm_su, imm, i8imm, null_frag, null_frag,
                        1, 0>;
 def Xi16 : X86TypeInfo<i16, "w", GR16, loadi16, i16mem, Imm16, i16imm,
                        imm_su, imm, i16i8imm, i16immSExt8_su, i16immSExt8,


        


More information about the llvm-commits mailing list