[LLVMbugs] [Bug 2338] New: instcombine isn't run after DSE
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat May 17 12:04:36 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2338
Summary: instcombine isn't run after DSE
Product: tools
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: llvm-gcc
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sabre at nondot.org
CC: llvmbugs at cs.uiuc.edu
Surprisingly (to me at least) instcombine isn't run anytime late in the
optimizer pipeline. This prevents llvm from eliminating the malloc/free in
this example, which requires dse to remove the store first.
void *malloc(__SIZE_TYPE__);
void free(void*);
int f(void)
{
char *i = malloc(1);
*i = 1;
free (i);
}
--
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