[llvm-bugs] [Bug 40753] New: AsmParser: 'p2align' is not round-trippable

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Feb 17 15:49:17 PST 2019


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

            Bug ID: 40753
           Summary: AsmParser: 'p2align' is not round-trippable
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: WebAssembly
          Assignee: unassignedbugs at nondot.org
          Reporter: aheejin at gmail.com
                CC: llvm-bugs at lists.llvm.org

For memory instructions, when the offset is 48 and p2align is 4, it is printed
as

i32.load 48:p2align=4

But the format AsmPraser recognizes is 

i32.load 48 4

I'm not sure if it's intended or not, but it does not look like it can
round-trippable.

-- 
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/20190217/8fe6e55d/attachment.html>


More information about the llvm-bugs mailing list