[llvm-dev] LiveInterval error with 2 dead defs

Matt Arsenault via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 7 14:50:28 PDT 2019

> On Oct 7, 2019, at 14:04, Krzysztof Parzyszek via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> The associated patch caused a compilation problems on Hexagon: https://bugs.llvm.org/show_bug.cgi?id=43302 <https://bugs.llvm.org/show_bug.cgi?id=43302>
> The splitting of a live interval should not be done automatically upon creation.  Calling LIS->getInterval(Reg) should not go around changing the code behind the scenes. 
> There is already a function “splitSeparateComponents” that does that.  It should be added where it’s missing.

The patch is using splitSeparateComponents. Where else would it go? The problem is with the initial live interval creation.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191007/c1e5469e/attachment.html>

More information about the llvm-dev mailing list