aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/MathExtras.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-09-27 04:42:39 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-09-27 04:42:39 +0000
commit81e6b29f03af3b7b33a6fb01500488c3a8ced811 (patch)
tree07064e1869615f55d9fb4d0e2ea5df8d56d82b49 /llvm/lib/Support/MathExtras.cpp
parent5996da203214fce8ae313bc0a86a1413de2749c5 (diff)
downloadllvm-81e6b29f03af3b7b33a6fb01500488c3a8ced811.zip
llvm-81e6b29f03af3b7b33a6fb01500488c3a8ced811.tar.gz
llvm-81e6b29f03af3b7b33a6fb01500488c3a8ced811.tar.bz2
[x86] Flip the sentinel values used in the target shuffle mask decoding
to significantly more sane sentinels. Notably, everywhere else in the backend's representation of shuffles uses '-1' to represent undef. The target shuffle masks really shouldn't diverge from that, especially as in a few places they are manipulated by shared code. This causes us to lose some undef lanes in various test masks. I want to get these back, but technically it isn't invalid and there are a *lot* of bugs here so I want to try to establish a saner baseline for fixing some of the bugs by aligning the specific senitnel values used. llvm-svn: 218561
Diffstat (limited to 'llvm/lib/Support/MathExtras.cpp')
0 files changed, 0 insertions, 0 deletions