[llvm] r347835 - [X86] Correct comment. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 28 21:56:03 PST 2018
Author: ctopper
Date: Wed Nov 28 21:56:03 2018
New Revision: 347835
URL: http://llvm.org/viewvc/llvm-project?rev=347835&view=rev
Log:
[X86] Correct comment. NFC
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=347835&r1=347834&r2=347835&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Wed Nov 28 21:56:03 2018
@@ -23901,7 +23901,7 @@ static SDValue LowerScalarImmediateShift
Ex = DAG.getVectorShuffle(ExVT, dl, Upper, Lower,
{9, 1, 11, 3, 13, 5, 15, 7});
} else {
- // SRA upper i32, SHL whole i64 and select lower i32.
+ // SRA upper i32, SRL whole i64 and select lower i32.
SDValue Upper = getTargetVShiftByConstNode(X86ISD::VSRAI, dl, ExVT, Ex,
ShiftAmt, DAG);
SDValue Lower =
More information about the llvm-commits
mailing list