summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorPhoebe Wang <phoebe.wang@intel.com>2023-10-29 21:55:00 +0800
committerGitHub <noreply@github.com>2023-10-29 21:55:00 +0800
commitb5281afe42246680ede4d563227df3657d501028 (patch)
tree65e8cae4a0360f557eb4c08d28001255a0549ce4 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentf8fe40090ab302921bc4b83969bfec8b31c902aa (diff)
[X86] Avoid returning the same shuffle operation for broadcast (#70592)
This is to fix a crash since aab8b2eb080d, which generates a new pattern ``` t35: v8i32 = xor t11, t14 t36: v8i32 = vector_shuffle<0,1,0,1,0,1,0,1> t35, undef:v8i32 ``` The pattern exposed a bug introduced since f885c08034, which breaks element widen but doesn't handle the broadcast case. The patch just solved the crash issue. I observed performance regression cased by above patches in the test, which may need further investigation.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions