R600/SI: Add pattern for sign extension of i1 to i32.

16 more little piglits with radeonsi.

NOTE: This is a candidate for the Mesa stable branch.

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 175887
This commit is contained in:
Michel Danzer 2013-02-22 11:22:58 +00:00
parent 00fb283560
commit 0cc991e17b
1 changed files with 5 additions and 0 deletions

View File

@ -1382,6 +1382,11 @@ def : Pat <
0, 0, 0, 0), sub3)
>;
def : Pat <
(i32 (sext (i1 SReg_64:$src0))),
(V_CNDMASK_B32_e64 (i32 0), (i32 -1), SReg_64:$src0)
>;
/********** ================== **********/
/********** VOP3 Patterns **********/
/********** ================== **********/