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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

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
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to