This is the mail archive of the
mailing list for the GCC project.
LRA and splitters
- From: Mike Stump <mikestump at comcast dot net>
- To: Vladimir Makarov <vmakarov at redhat dot com>
- Cc: GCC Development <gcc at gcc dot gnu dot org>
- Date: Thu, 8 May 2014 10:15:06 -0700
- Subject: LRA and splitters
- Authentication-results: sourceware.org; auth=none
So, I was wondering about patterns like:
[(set (match_operand:DI 0 "register_operand" "=q")
(match_operator:DI 1 "ix86_comparison_operator"
[(reg FLAGS_REG) (const_int 0)]))]
"TARGET_64BIT && !TARGET_PARTIAL_REG_STALL"
[(set (match_dup 2) (match_dup 1))
(set (match_dup 0) (zero_extend:DI (match_dup 2)))]
PUT_MODE (operands, QImode);
operands = gen_lowpart (QImode, operands);
on the x86. X86 is an always LRA port, and with LRA it seems reload_completed is always 0, and so that disables these splitters?
I have a port that I am converting, and noticed this and am wondering what the path forward is for me.