[llvm-bugs] [Bug 43487] New: handleMoveUp incorrectly re-uses valnos

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 27 11:14:54 PDT 2019


            Bug ID: 43487
           Summary: handleMoveUp incorrectly re-uses valnos
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: Matthew.Arsenault at amd.com
                CC: llvm-bugs at lists.llvm.org, quentin.colombet at gmail.com,
                    tpr.ll at botech.co.uk

Created attachment 22592
  --> https://bugs.llvm.org/attachment.cgi?id=22592&action=edit
Patch adding testcase

While working on bug 43467 I found this testcase which produces incorrect
valnos from the path added in r326087

Assertion failed: (I->valno != std::next(I)->valno), function verify, file
../lib/CodeGen/LiveInterval.cpp, line 1071.

[16r,40r:1)[40r,64r:3)[64r,80r:3)[80r,80d:3)  0 at 64r 1 at 16r 2 at 80r 3 at 40r

valno 3 is used 3 times

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/20190927/4d4f4115/attachment.html>

More information about the llvm-bugs mailing list