This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/80155] [7/8 regression] Performance regression with code hoisting enabled
- From: "prathamesh3492 at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 04 Oct 2017 06:09:39 +0000
- Subject: [Bug tree-optimization/80155] [7/8 regression] Performance regression with code hoisting enabled
- Auto-submitted: auto-generated
- References: <bug-80155-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80155
prathamesh3492 at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |prathamesh3492 at gcc dot gnu.org
--- Comment #30 from prathamesh3492 at gcc dot gnu.org ---
Hi Richard,
I tried your patch in comment #9 with the fix in comment #13 but since
tree-ssa-pre.c appears to be refactored, the fix doesn't apply anymore and ICE
resurfaces. Could you guide me what fix I should apply to reproduce the
regression ? IIUC the issue here is that code-hoisting is increasing register
pressure thus causing the extra spill ? And GIMPLE does not seem to have cost
model for register allocation.
Are you planning to take a look at this PR soon ? If not I would like to give a
try and would be grateful for suggestions on how to approach this bug.
Thanks!