[llvm] 7a23e6b - [GlobalISel] Fix typo. NFC

Michael Liao via llvm-commits llvm-commits at lists.llvm.org
Sat May 6 07:08:26 PDT 2023


Author: Michael Liao
Date: 2023-05-06T10:07:49-04:00
New Revision: 7a23e6b38023e36d9faa97187f13b0394bef298e

URL: https://github.com/llvm/llvm-project/commit/7a23e6b38023e36d9faa97187f13b0394bef298e
DIFF: https://github.com/llvm/llvm-project/commit/7a23e6b38023e36d9faa97187f13b0394bef298e.diff

LOG: [GlobalISel] Fix typo. NFC

Added: 
    

Modified: 
    llvm/include/llvm/Target/GenericOpcodes.td

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Target/GenericOpcodes.td b/llvm/include/llvm/Target/GenericOpcodes.td
index f777aa1e04779..3b33477209448 100644
--- a/llvm/include/llvm/Target/GenericOpcodes.td
+++ b/llvm/include/llvm/Target/GenericOpcodes.td
@@ -23,7 +23,7 @@ class GenericInstruction : StandardPseudoInstruction {
 // 
diff erent instruction flags. This is intended to provide a
 // convenient way to define strict floating point variants of ordinary
 // floating point instructions.
-class ConstrainedIntruction<GenericInstruction baseInst> :
+class ConstrainedInstruction<GenericInstruction baseInst> :
   GenericInstruction {
   let OutOperandList = baseInst.OutOperandList;
   let InOperandList =  baseInst.InOperandList;
@@ -1377,13 +1377,13 @@ def G_VECREDUCE_UMIN : VectorReduction;
 // Constrained floating point ops
 //------------------------------------------------------------------------------
 
-def G_STRICT_FADD : ConstrainedIntruction<G_FADD>;
-def G_STRICT_FSUB : ConstrainedIntruction<G_FSUB>;
-def G_STRICT_FMUL : ConstrainedIntruction<G_FMUL>;
-def G_STRICT_FDIV : ConstrainedIntruction<G_FDIV>;
-def G_STRICT_FREM : ConstrainedIntruction<G_FREM>;
-def G_STRICT_FMA : ConstrainedIntruction<G_FMA>;
-def G_STRICT_FSQRT : ConstrainedIntruction<G_FSQRT>;
+def G_STRICT_FADD : ConstrainedInstruction<G_FADD>;
+def G_STRICT_FSUB : ConstrainedInstruction<G_FSUB>;
+def G_STRICT_FMUL : ConstrainedInstruction<G_FMUL>;
+def G_STRICT_FDIV : ConstrainedInstruction<G_FDIV>;
+def G_STRICT_FREM : ConstrainedInstruction<G_FREM>;
+def G_STRICT_FMA : ConstrainedInstruction<G_FMA>;
+def G_STRICT_FSQRT : ConstrainedInstruction<G_FSQRT>;
 
 //------------------------------------------------------------------------------
 // Memory intrinsics


        


More information about the llvm-commits mailing list