This is the mail archive of the
mailing list for the GCC project.
Missed opportunity in cselib.c/postreload?
- From: "Bin.Cheng" <amker dot cheng at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 20 Sep 2012 16:57:15 +0800
- Subject: Missed opportunity in cselib.c/postreload?
I am investigating pr54133. For following dump insns before postreload:
77 r0:DF=call [`__aeabi_ddiv'] argc:0
85 r0:DF=call [`bar'] argc:0x18
91 r0:DF=call [`bar'] argc:0x18
r0 in 78 should be propagated into 83 and have it DCEd.
But problem is function cselib_hash_rtx treats call_insn un-hashable,
causing r0:DF won't be recorded or propagated.
So why call_insn is not hashed here? Am I missing something?
Thanks very much.