[llvm] 09b6765 - [InstCombine] Remove trailing space in comment; NFC

Noah Goldstein via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 30 16:06:34 PDT 2023


Author: Noah Goldstein
Date: 2023-07-30T18:05:56-05:00
New Revision: 09b6765e7d278a08ceece8a1e3a24fa37a35f46e

URL: https://github.com/llvm/llvm-project/commit/09b6765e7d278a08ceece8a1e3a24fa37a35f46e
DIFF: https://github.com/llvm/llvm-project/commit/09b6765e7d278a08ceece8a1e3a24fa37a35f46e.diff

LOG: [InstCombine] Remove trailing space in comment; NFC

Added: 
    

Modified: 
    llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp b/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
index 00eece9534b082..f6fbe51cfe289f 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
@@ -918,7 +918,7 @@ Value *InstCombinerImpl::SimplifyDemandedUseBits(Value *V, APInt DemandedMask,
               SimplifyDemandedBits(I, 1, DemandedMaskRHS, RHSKnown, Depth + 1))
             return I;
         } else { // fshl is a rotate
-          // Avoid converting rotate into funnel shift. 
+          // Avoid converting rotate into funnel shift.
           // Only simplify if one operand is constant.
           LHSKnown = computeKnownBits(I->getOperand(0), Depth + 1, I);
           if (DemandedMaskLHS.isSubsetOf(LHSKnown.Zero | LHSKnown.One) &&


        


More information about the llvm-commits mailing list