]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcn/gcn-valu.md: Disable fold_left_plus for TARGET_RDNA2_PLUS [PR113615]
authorTobias Burnus <tburnus@baylibre.com>
Mon, 29 Jan 2024 12:51:25 +0000 (13:51 +0100)
committerTobias Burnus <tburnus@baylibre.com>
Mon, 29 Jan 2024 12:51:25 +0000 (13:51 +0100)
gcc/ChangeLog:

PR target/113615
* config/gcn/gcn-valu.md (fold_left_plus_<mode>): Only
define for !TARGET_RDNA2_PLUS.

Signed-off-by: Tobias Burnus <tburnus@baylibre.com>
gcc/config/gcn/gcn-valu.md

index cd027f8b369316f72c15fe5fbdbb27c5b96ca499..23b441f8e8b6ae23c31fd281bd17a285aeb0b1ca 100644 (file)
  [(match_operand:<SCALAR_MODE> 0 "register_operand")
   (match_operand:<SCALAR_MODE> 1 "gcn_alu_operand")
   (match_operand:V_FP 2 "gcn_alu_operand")]
-  "can_create_pseudo_p ()
+  "!TARGET_RDNA2_PLUS
+   && can_create_pseudo_p ()
    && (flag_openacc || flag_openmp
        || flag_associative_math)"
   {