freedreno/ir3: Don't fold conversions into sign
authorKristian H. Kristensen <hoegsberg@google.com>
Tue, 25 Feb 2020 21:38:11 +0000 (13:38 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 9 Mar 2020 16:31:07 +0000 (16:31 +0000)
Not supported.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3929>

src/freedreno/ir3/ir3_cf.c

index 4e29265c2bd5c5d0264c6be0c16f1d7b5567c3cd..2c2dc06c27a98fc45395a225d1782a85c2a0a0c0 100644 (file)
@@ -81,6 +81,7 @@ try_conversion_folding(struct ir3 *ir, struct ir3_instruction *conv)
        case OPC_SEL_B32:
        case OPC_MAX_F:
        case OPC_MIN_F:
+       case OPC_SIGN_F:
        case OPC_ABSNEG_F:
                return;
        default: