[llvm-bugs] [Bug 41059] [WebAssembly] Load and store alignment is not disassembled by objdump

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 24 17:46:43 PDT 2019


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

Wouter van Oortmerssen <aardappel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Wouter van Oortmerssen <aardappel at gmail.com> ---
This is by design: InstPrinter prints the p2align operand only if it is not the
natural alignment:
https://github.com/root-project/root/blob/7b4b88c7a234f23ad2f9a93fdd8bf7eba4089b5e/interpreter/llvm/src/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp#L195-L203

The AsmParser also implements this same behavior.

Presumably whoever originally wrote that code judged that it would reduce on
noise, given that 99% of load/stores use natural alignment.

-- 
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/20190625/1b5ae339/attachment-0001.html>


More information about the llvm-bugs mailing list