[llvm-bugs] [Bug 30833] [ppc] Use cmplwi insead of rlwinm. to compare bool var

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Mar 12 08:40:19 PDT 2018


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

Nemanja Ivanovic <nemanja.i.ibm at gmail.com> changed:

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

--- Comment #1 from Nemanja Ivanovic <nemanja.i.ibm at gmail.com> ---
As of https://reviews.llvm.org/rL326736, we will emit an andi. here which is a
faster instruction on P9.

Since andi. is not cracked, there is no advantage to emitting cmplwi on P9 so
this PR can probably be closed now.

-- 
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/20180312/b22c9723/attachment.html>


More information about the llvm-bugs mailing list