mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
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:
parent
3f8fef4e0e
commit
79dd1c9761
@ -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 **********/
|
||||
/********** ================== **********/
|
||||
|
Loading…
Reference in New Issue
Block a user