aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2015-11-21 12:38:34 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2015-11-21 12:38:34 +0000
commit96cbce61b26d5315efcd82de1b767381fc154fb1 (patch)
tree6f6509a2bad29f070564505ce9b49e4b85907fe0 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent9b8c7c72f59da90cf21af5364cfb34e18188d206 (diff)
downloadllvm-96cbce61b26d5315efcd82de1b767381fc154fb1.zip
llvm-96cbce61b26d5315efcd82de1b767381fc154fb1.tar.gz
llvm-96cbce61b26d5315efcd82de1b767381fc154fb1.tar.bz2
[X86][SSE] Legal XMM Register Class ordering for SSE1
It turns out we have a number of places that just grab the first type attached to a register class for various reasons. This is fine unless for some reason that type isn't legal on the current target, such as for SSE1 which doesn't support v16i8/v8i16/v4i32/v2i64 - all of which were included before 4f32 in the class. Given that this is such a rare situation I've just re-ordered the types and placed the float types first. Fix for PR16133 Differential Revision: http://reviews.llvm.org/D14787 llvm-svn: 253773
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions