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

            Bug ID: 37987
           Summary: [X86] Improve optimization of X86ISD + FLAGS opcodes
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            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]

https://reviews.llvm.org/D48619 highlighted that we're not doing much to
optimize the ops once they are lowered to X86ISD + FLAGS opcodes:

  // Arithmetic operations with FLAGS results.
  ADD, SUB, ADC, SBB, SMUL,
  INC, DEC, OR, XOR, AND,

We should at least manage basic constant folding, zero handling etc.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to