[LLVMbugs] [Bug 7620] New: MachineLICM should hoist ImplicitDefs.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jul 11 17:04:54 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7620
Summary: MachineLICM should hoist ImplicitDefs.
Product: libraries
Version: 1.0
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: clattner at apple.com
CC: llvmbugs at cs.uiuc.edu
MachineLICM::IsLICMCandidate makes it not hoist implicit defs, however, as the
fixme I added indicates, hoisting an IMPLICIT_DEF may allow hoisting other
instructions that use the impdef as an operand.
Hoisting it should not affect register pressure at all (assuming the RA is
doing the right thing with implicitdef), so just removing that check should be
fine.
However, doing this causes other RA fallout, e.g. test/CodeGen/ARM/spill-q.ll
crashes in the two-address pass.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list