aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/XCOFFObjectFile.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2021-10-11 14:41:14 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2021-10-11 14:50:24 +0100
commitad16c6e52fb74c2e784530f14c19e72d93c9ad62 (patch)
treec091b62edec5f6e904a9af72d338723b08d3e737 /llvm/lib/Object/XCOFFObjectFile.cpp
parent8249e50bf4286deee314e36ce7e67f38bcd79db2 (diff)
downloadllvm-ad16c6e52fb74c2e784530f14c19e72d93c9ad62.zip
llvm-ad16c6e52fb74c2e784530f14c19e72d93c9ad62.tar.gz
llvm-ad16c6e52fb74c2e784530f14c19e72d93c9ad62.tar.bz2
[X86][AVX] Ensure we retain zero elements in select(pshufb,pshufb) -> or(pshufb,pshufb) fold (PR52122)
The select(pshufb,pshufb) -> or(pshufb,pshufb) fold uses getConstVector to create the refreshed pshufb masks, which treats all negative indices as undef. PR52122 shows that if we were selecting an element that the PSHUFB has set to zero we must set it back to 0x80 when we recreate the PSHUFB mask and not just leave it as SM_SentinelZero
Diffstat (limited to 'llvm/lib/Object/XCOFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions