[LLVMbugs] [Bug 8360] New: Resolve call to atoi with constant input at compile time.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 12 00:55:51 PDT 2010


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: unassignedbugs at nondot.org
        ReportedBy: bigcheesegs at gmail.com
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list