[llvm-bugs] [Bug 37219] New: Warn when movq is used with a 64bit immediate

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 23 16:02:39 PDT 2018


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

            Bug ID: 37219
           Summary: Warn when movq is used with a 64bit immediate
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: joerg at NetBSD.org
                CC: llvm-bugs at lists.llvm.org

GNU as has a misfeature where "movq UINT64_MAX, %rax" is silently translated
into movabs for literal 64bit values. I do not want to support that, but we
should warn for the truncation here.

-- 
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/20180423/58734796/attachment.html>


More information about the llvm-bugs mailing list