[llvm-bugs] [Bug 41539] New: Problem with 'fadd' two constant operands.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 19 02:02:17 PDT 2019


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

            Bug ID: 41539
           Summary: Problem with 'fadd' two constant operands.
           Product: tools
           Version: 8.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llc
          Assignee: unassignedbugs at nondot.org
          Reporter: mail at wud.me
                CC: llvm-bugs at lists.llvm.org

Instruction: %l.7 = fadd float 4.500000e0, 3.200000e0
will cause an error: floating point constant invalid for type
But '%l.9 = add   i16 16, 5' will not.
Doesn't 'fadd' instruction allow two constant operands?

-- 
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/20190419/e63526bf/attachment.html>


More information about the llvm-bugs mailing list