https://llvm.org/bugs/show_bug.cgi?id=31698
Bug ID: 31698
Summary: NewGVN fails to do store to load forwarding
Product: libraries
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
Assignee: unassignedb...@nondot.org
Reporter: bigchees...@gmail.com
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified
Created attachment 17868
--> https://llvm.org/bugs/attachment.cgi?id=17868&action=edit
IR
For the attached code, opt -gvn optimizes to one load and one store. -newgvn
optimizes to two loads and one store. It fails to do the store to load
forwarding.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs