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

            Bug ID: 47857
           Summary: Remove mov before sbb reg, reg
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedb...@nondot.org
          Reporter: david.bolvan...@gmail.com
                CC: craig.top...@gmail.com, llvm-bugs@lists.llvm.org,
                    llvm-...@redking.me.uk, pengfei.w...@intel.com,
                    spatel+l...@rotateright.com

As shown here:
https://godbolt.org/z/Tfzj6n

It should be possible to remove mov before sbb with same operands.

..
        mov     esi, 0
        sbb     rsi, rsi
        and     esi, 38
        add     r9, rsi
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to