From: Michel Dänzer <michel.daen...@amd.com> 16 more little piglits with radeonsi.
NOTE: This is a candidate for the Mesa stable branch. Signed-off-by: Michel Dänzer <michel.daen...@amd.com> --- lib/Target/R600/SIInstructions.td | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Target/R600/SIInstructions.td b/lib/Target/R600/SIInstructions.td index d4f7b37..ad1eff7 100644 --- a/lib/Target/R600/SIInstructions.td +++ b/lib/Target/R600/SIInstructions.td @@ -1404,6 +1404,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 **********/ /********** ================== **********/ -- 1.8.1.3 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev