[llvm-bugs] [Bug 31385] New: SimplifyLibCalls should be able to map C99 types -> LLVM IR Types

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Dec 14 18:19:52 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=31385

            Bug ID: 31385
           Summary: SimplifyLibCalls should be able to map C99 types ->
                    LLVM IR Types
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: davide at freebsd.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

See https://reviews.llvm.org/D14590.

SimplifyLibCalls needs to know how to translate the pair (DataLayout, C99 type)
-> LLVM IR Type in order to make some kind of transformations. 
For example, constant folding fls/flsl/flsll.

Without that, there's no reliable way to know how big a long is.

-- 
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/20161215/916c3c19/attachment.html>


More information about the llvm-bugs mailing list