Revert D143786 "[X86] Add `TuningPreferShiftShuffle` for when Shifts are preferable...
authorFangrui Song <i@maskray.me>
Thu, 2 Mar 2023 03:08:55 +0000 (19:08 -0800)
committerFangrui Song <i@maskray.me>
Thu, 2 Mar 2023 03:08:55 +0000 (19:08 -0800)
commit52ced140988a3f9ba715683d3a07b87d93faa9d1
treef6c8719723b8b3cf63544bfd4ee772e5889cebc8
parent9266edfcfd9e0873230c904744cd5d8da7519456
Revert D143786 "[X86] Add `TuningPreferShiftShuffle` for when Shifts are preferable to shuffles."

This reverts commit a98ee27416916c3f8af4cd229e0a633423d6d9a3.
It caused MemorySanitizer use-of-uninitialized-value in matchUnaryPermuteShuffle.
llvm/lib/Target/X86/X86.td
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86TargetTransformInfo.h
llvm/test/CodeGen/X86/avx512-hadd-hsub.ll
llvm/test/CodeGen/X86/min-legal-vector-width.ll
llvm/test/CodeGen/X86/pr57340.ll
llvm/test/CodeGen/X86/shuffle-as-shifts.ll