[llvm-bugs] [Bug 47797] Missing optimization with (var&const)==const

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 12 03:37:49 PDT 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
 Fixed By Commit(s)|                            |38c799bce801

--- Comment #4 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
Fold added at rG38c799bce801

x(int): # @x(int)
  notl %edi
  testw $1234, %di # imm = 0x4D2
  je t() # TAILCALL
  retq

y(int): # @y(int)
  notl %edi
  testw $1234, %di # imm = 0x4D2
  je t() # TAILCALL
  retq

-- 
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/20210412/166259bb/attachment.html>


More information about the llvm-bugs mailing list