[LLVMbugs] [Bug 22786] New: Missed optimization due to instcombine + sroa creating inttoptr on 32bit platforms
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Mar 4 04:16:44 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22786
Bug ID: 22786
Summary: Missed optimization due to instcombine + sroa creating
inttoptr on 32bit platforms
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: bsteinbr at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 13984
--> http://llvm.org/bugs/attachment.cgi?id=13984&action=edit
Testcase
InstCombine turns memcpys of 8 bytes into a load/store which SROA might later
split up into smaller values. In the attached test case, this ends up
extracting a pointer to doing a trunc + inttoptr operation, which stops the
second conditional branch from being eliminated, although it's clear that the
branch to "panic" will never be taken.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150304/ca93dd48/attachment.html>
More information about the llvm-bugs
mailing list