[llvm-bugs] [Bug 38929] Swap binop operands to avoid useless move before return

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 6 07:00:59 PDT 2021


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

Simon Pilgrim <llvm-dev at redking.me.uk> changed:

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

--- Comment #6 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
The missing folds are fixed in trunk and I've added a test case at
rG88c2454057b6cd1b122f7fadde666e6b8ea6ebd3

We've already got similar bugs where TwoAddressInstruction still fails to
commute instructions, so I'm going to resolve this version now that it doesn't
actually have that problem.

-- 
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/20210406/523a35ba/attachment.html>


More information about the llvm-bugs mailing list