[llvm] 2a0314f - [GlobalISel] Fix comment on buildIsFPClass

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 8 04:41:36 PST 2023


Author: Jay Foad
Date: 2023-12-08T12:41:22Z
New Revision: 2a0314f153b3fdc6d8b51d35c2e4a4bb67dfcaef

URL: https://github.com/llvm/llvm-project/commit/2a0314f153b3fdc6d8b51d35c2e4a4bb67dfcaef
DIFF: https://github.com/llvm/llvm-project/commit/2a0314f153b3fdc6d8b51d35c2e4a4bb67dfcaef.diff

LOG: [GlobalISel] Fix comment on buildIsFPClass

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h b/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
index e0101a5ac1ca8..3d36d06a7e9da 100644
--- a/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
+++ b/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
@@ -1194,7 +1194,7 @@ class MachineIRBuilder {
                                 const SrcOp &Op0, const SrcOp &Op1,
                                 std::optional<unsigned> Flags = std::nullopt);
 
-  /// Build and insert a \p Res = G_IS_FPCLASS \p Pred, \p Src, \p Mask
+  /// Build and insert a \p Res = G_IS_FPCLASS \p Src, \p Mask
   MachineInstrBuilder buildIsFPClass(const DstOp &Res, const SrcOp &Src,
                                      unsigned Mask) {
     return buildInstr(TargetOpcode::G_IS_FPCLASS, {Res},


        


More information about the llvm-commits mailing list