[llvm] 6f802ec - [X86] Fix fshr comment copy+paste typo. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue May 26 02:56:16 PDT 2020


Author: Simon Pilgrim
Date: 2020-05-26T10:55:57+01:00
New Revision: 6f802ec4333cc1227bb37e258a81e9a588f964dc

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

LOG: [X86] Fix fshr comment copy+paste typo. NFC.

Noticed by @foad on D80466.

Added: 
    

Modified: 
    llvm/lib/Target/X86/X86ISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 54a80151eb69..6bf61af00590 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -19073,7 +19073,7 @@ static SDValue LowerFunnelShift(SDValue Op, const X86Subtarget &Subtarget,
   bool ExpandFunnel = !OptForSize && Subtarget.isSHLDSlow();
 
   // fshl(x,y,z) -> (((aext(x) << bw) | zext(y)) << (z & (bw-1))) >> bw.
-  // fshr(x,y,z) -> (((aext(x) << bw) | zext(y)) >> (z & (bw-1))) >> bw.
+  // fshr(x,y,z) -> (((aext(x) << bw) | zext(y)) >> (z & (bw-1))).
   if ((VT == MVT::i8 || (ExpandFunnel && VT == MVT::i16)) &&
       !isa<ConstantSDNode>(Amt)) {
     unsigned EltSizeInBits = VT.getScalarSizeInBits();


        


More information about the llvm-commits mailing list