[llvm-bugs] [Bug 37987] New: [X86] Improve optimization of X86ISD + FLAGS opcodes

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 29 05:22:21 PDT 2018


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: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: andrea.dibiagio at gmail.com, craig.topper at gmail.com,
                    lebedev.ri at gmail.com, llvm-bugs at lists.llvm.org,
                    spatel+llvm at rotateright.com

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180629/e9231bf5/attachment-0001.html>


More information about the llvm-bugs mailing list