[llvm-bugs] [Bug 38002] Missed opportunity for SETE for 2-cases switch

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Sep 4 01:55:54 PDT 2021


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

David Bolvansky <david.bolvansky at gmail.com> changed:

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

--- Comment #4 from David Bolvansky <david.bolvansky at gmail.com> ---
sw1(int): # @sw1(int)
  add edi, -3
  test edi, -3
  sete al
  ret


So.. fixed since LLVM 13.

-- 
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/20210904/c4d6ea90/attachment.html>


More information about the llvm-bugs mailing list