R600/SI: Add pattern for zero-extending i1 to i32
authorMichel Danzer <michel.daenzer@amd.com>
Wed, 5 Feb 2014 09:48:05 +0000 (09:48 +0000)
committerMichel Danzer <michel.daenzer@amd.com>
Wed, 5 Feb 2014 09:48:05 +0000 (09:48 +0000)
commitcf4061a6016ebcac39ac59f994e6332395f260e1
tree26b30636c2c5ab8316c1b9875dce2feb7200dc6f
parent51dd765139492453032a08e3139bc6e0be3af137
R600/SI: Add pattern for zero-extending i1 to i32

Fixes opencl-example if_* tests with radeonsi.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74469

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