[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)
commitd966fb6fef351da66768cbe560c90dceeb6bf07a
treeb0ed5be4eac5c0211b1bef42f9dc5f5c58e22a89
parent494abf1ad8d4771b0d15ae1437b39e26aa69a7bf
[SPARC] Fix BooleanContents, so that select of a trunc doesn't
eliminate the trunc.

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

llvm-svn: 245444
llvm/lib/Target/Sparc/SparcISelLowering.cpp
llvm/test/CodeGen/SPARC/select-mask.ll [new file with mode: 0644]