[PATCH] D146790: [X86][NFC]Remove dead code in X86ISelLowering.cpp
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 26 18:30:30 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG12e8463b149c: [X86][NFC]Remove dead code in X86ISelLowering.cpp (authored by XinWang10, committed by xin10.wang <wangxin8 at f90srv19.nh.intel.com>).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146790/new/
https://reviews.llvm.org/D146790
Files:
llvm/lib/Target/X86/X86ISelLowering.cpp
Index: llvm/lib/Target/X86/X86ISelLowering.cpp
===================================================================
--- llvm/lib/Target/X86/X86ISelLowering.cpp
+++ llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -15609,10 +15609,6 @@
lowerShuffleAsShift(DL, MVT::v4i32, V1, V2, Mask, Zeroable, Subtarget,
DAG, /*BitwiseOnly*/ false))
return Shift;
- if (!Subtarget.preferLowerShuffleAsShift() && NumV2Elements == 0)
- if (SDValue Rotate =
- lowerShuffleAsBitRotate(DL, MVT::v4i32, V1, Mask, Subtarget, DAG))
- return Rotate;
// There are special ways we can lower some single-element blends.
if (NumV2Elements == 1)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146790.508454.patch
Type: text/x-patch
Size: 685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230327/b831cfcd/attachment.bin>
More information about the llvm-commits
mailing list