[llvm-bugs] [Bug 41500] New: [AMDGPU] Add tests for fneg dag combining multi-use op

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 15 07:37:29 PDT 2019


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

            Bug ID: 41500
           Summary: [AMDGPU] Add tests for fneg dag combining multi-use op
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AMDGPU
          Assignee: unassignedbugs at nondot.org
          Reporter: tpr.llvm at botech.co.uk
                CC: llvm-bugs at lists.llvm.org

D60633 fixes a bug where fneg was dag combining a multi-use fadd, but creating
a new fadd got folded, and the dag combiner asserted.

As part of that fix, I also added precautionary fixes for the same situation
with fneg combinining with fmul, fma, fmax, fmin, fmed3. However I do not have
reproducers for those cases.

This bug is to create reproducers for a hypothetical assert for fneg combining
with each of those ops, when the fix in D60633 is not present.

-- 
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/20190415/1c00ab82/attachment.html>


More information about the llvm-bugs mailing list