[llvm-bugs] [Bug 35741] New: After r315899, comments after x86 prefixes cause errors

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Dec 24 13:39:09 PST 2017


            Bug ID: 35741
           Summary: After r315899, comments after x86 prefixes cause
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dimitry at andric.com
                CC: llvm-bugs at lists.llvm.org

In https://reviews.llvm.org/rL315899 (fixing x86 prefix issues related to bug
7709, bug 17697, bug 19251, bug 32809 and bug 21640), assembler comments after
such prefixes are no longer accepted, while they obviously should be.

For example, this assembly:

rep     # comment

Both GNU as and clang before r315899 compile this just fine, but clang r315899
and later produce:

$ ~/llvm-trunk-r315899/bin/clang -c rep.s
rep.s:1:1: error: invalid instruction mnemonic '# comment'
rep     # comment

Please fix this, or revert r315899 before 6.0.0 branches off.

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/20171224/69f84c2a/attachment.html>

More information about the llvm-bugs mailing list