[llvm-commits] [llvm] r149163 - /llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Feb 1 05:49:58 PST 2012


> Remove code that adds live ranges for dead defs. It seems to be breaking things.

In case anyone is interested, I have attached a testcase. Before this
patch, running

$ llc -mtriple i386-unknown-linux-gnu -o test.s  test.ll

would crash with

...

Assertion failed: (B->end <= Start && "Cannot overlap two LiveRanges
with differing ValID's" " (did you def the same reg twice in a
MachineInstr?)"), function addRangeFrom, file
/Users/espindola/llvm/llvm/lib/CodeGen/LiveInterval.cpp, line 246.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.ll
Type: application/octet-stream
Size: 3627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120201/6dfc8730/attachment.obj>


More information about the llvm-commits mailing list