Commit 12faad02 by Kyrylo Tkachov Committed by Kyrylo Tkachov

[AArch64] Fix gcc.dg/torture/float32-builtin.c with RTL checking

    * config/aarch64/predicates.md (aarch64_reg_or_fp_zero): Check for
    const_double code before calling aarch64_float_const_zero_rtx_p.

From-SVN: r242539
parent 8ce3fee5
2016-11-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/predicates.md (aarch64_reg_or_fp_zero): Check for
const_double code before calling aarch64_float_const_zero_rtx_p.
2016-11-17 Richard Biener <rguenther@suse.de>
PR tree-optimization/78306
......@@ -54,9 +54,9 @@
(match_test "op == const0_rtx"))))
(define_predicate "aarch64_reg_or_fp_zero"
(and (match_code "reg,subreg,const_double")
(ior (match_operand 0 "register_operand")
(match_test "aarch64_float_const_zero_rtx_p (op)"))))
(ior (match_operand 0 "register_operand")
(and (match_code "const_double")
(match_test "aarch64_float_const_zero_rtx_p (op)"))))
(define_predicate "aarch64_reg_zero_or_m1_or_1"
(and (match_code "reg,subreg,const_int")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment