[LLVMbugs] [Bug 8892] New: CGSCCPassManager does not visit all functions.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jan 2 22:12:47 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=8892
Summary: CGSCCPassManager does not visit all functions.
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Interprocedural Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nlewycky at google.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=5945)
--> (http://llvm.org/bugs/attachment.cgi?id=5945)
testcase
The call graph SCC pass manager does not visit any of the functions in this
example .ll file.
For fun, try running:
opt -instcombine -debug x.ll
to see that it visits every function, then
opt -functionattrs -instcombine -debug x.ll
to see that it visits none.
The pass' runOnSCC is being called only once with a single CallGraphNode, being
the external one (CGN->getFunction() == NULL).
--
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