aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/ModuleSummaryIndex.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-07-01 12:12:34 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-07-01 12:12:53 +0100
commitb485586482af213cf04a1e97712283db1707435b (patch)
treed54d7d6d00fb1e77e8b66e781312339ebf63d8de /llvm/lib/IR/ModuleSummaryIndex.cpp
parent41ca82cbe815904173d094cb3a7789a705a73695 (diff)
downloadllvm-b485586482af213cf04a1e97712283db1707435b.zip
llvm-b485586482af213cf04a1e97712283db1707435b.tar.gz
llvm-b485586482af213cf04a1e97712283db1707435b.tar.bz2
[X86][SSE] Fix targetShrinkDemandedConstant constant vector sign extensions
D82257/rG3521ecf1f8a3 was incorrectly sign-extending a constant vector from the lsb, this is fine if all the constant elements are 'allsignbits' in the active bits, but if only some of the elements are, then we are corrupting the constant values for those elements. This fix ensures we sign extend from the msb of the active/demanded bits instead.
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
0 files changed, 0 insertions, 0 deletions