[llvm] 4580b0f - [X86] getFauxShuffle - remove (unused) ISD::TRUNCATE shuffle decoding.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri May 15 09:41:37 PDT 2020
Author: Simon Pilgrim
Date: 2020-05-15T17:31:26+01:00
New Revision: 4580b0f5b65c18b3029ca0936762dcec727274c4
URL: https://github.com/llvm/llvm-project/commit/4580b0f5b65c18b3029ca0936762dcec727274c4
DIFF: https://github.com/llvm/llvm-project/commit/4580b0f5b65c18b3029ca0936762dcec727274c4.diff
LOG: [X86] getFauxShuffle - remove (unused) ISD::TRUNCATE shuffle decoding.
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 249f7b25f932..be147d39ee27 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -7603,7 +7603,6 @@ static bool getFauxShuffleMask(SDValue N, const APInt &DemandedElts,
createPackShuffleMask(VT, Mask, IsUnary);
return true;
}
- case ISD::TRUNCATE:
case X86ISD::VTRUNC: {
SDValue Src = N.getOperand(0);
EVT SrcVT = Src.getValueType();
More information about the llvm-commits
mailing list