http://llvm.org/bugs/show_bug.cgi?id=8360
Summary: Resolve call to atoi with constant input at compile
time.
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Ran into this while trying to get LLVM to not optimize away my contrived code.
Seems like an easy SimplifyLibCalls opt to implement to get used to transforms.
Filing this so I don't forget.
atoi("42") -> i32 42
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs