R600/SI: Add pattern for truncating i32 to i1
authorMichel Danzer <michel.daenzer@amd.com>
Tue, 28 Jan 2014 03:01:16 +0000 (03:01 +0000)
committerMichel Danzer <michel.daenzer@amd.com>
Tue, 28 Jan 2014 03:01:16 +0000 (03:01 +0000)
commitf555fb410ed84d8d7cddf61a266cbb7b7c53437e
tree244d8bbcda86ad550cb750a766a4bab155036182
parent8322c0f305db10a82bbb2589a605f813dbb096b3
R600/SI: Add pattern for truncating i32 to i1

Fixes half a dozen piglit tests with radeonsi.

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200283 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstructions.td
test/CodeGen/R600/trunc.ll