[SPARC] Fix BooleanContents, so that select of a trunc doesn't
authorJames Y Knight <jyknight@google.com>
Wed, 19 Aug 2015 14:47:04 +0000 (14:47 +0000)
committerJames Y Knight <jyknight@google.com>
Wed, 19 Aug 2015 14:47:04 +0000 (14:47 +0000)
commit77c6e1a3a4ccd7fbf5218a1ae9c94fa2ddfcac3b
tree2e036a0cf5483501bdb01fb25d06d7b83da31fa2
parent468e70fe4f9c3e4bbaf1729d20862c66c8542c66
[SPARC] Fix BooleanContents, so that select of a trunc doesn't
eliminate the trunc.

Differential Revision: http://reviews.llvm.org/D10442

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245444 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/SparcISelLowering.cpp
test/CodeGen/SPARC/select-mask.ll [new file with mode: 0644]