[llvm-bugs] [Bug 41847] [llvm-mca] "addl %reg, imm" => MayLoad, MayStore ??!
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun May 12 03:06:07 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41847
Simon Pilgrim <llvm-dev at redking.me.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #2 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
addl %ecx, 8192
This is adding the value in register ECX to the absolute memory location at
address 8192 - so will have a load + store
I think what you meant was
addl $8192, %ecx
which is handled as you'd expect.
--
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/20190512/d682fb34/attachment.html>
More information about the llvm-bugs
mailing list