summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2025-05-24 13:47:18 +0100
committerGitHub <noreply@github.com>2025-05-24 13:47:18 +0100
commit4b4699a13c9d05fa828b06bf398f1432ff3d9fb8 (patch)
treef18c3f78004784469a0a368faf626aeeaa538e3a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent294643e4bdc843343ef20069a4d6d0de872b3303 (diff)
[InstCombine] Don't cover up poison elements for shifts when folding shuffles thru binops (#141303)
As noted in the TODO, we don't need to cover up the poison elements placed in the unused lanes for shifts, since it's not UB unlike div/rem. New poison elements are only introduced in cases like ShMask = <1,1,2,2> and C = <5,5,6,6> --> NewC = <poison,5,6,poison> And the resulting shuffle won't use the poison lanes.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions