[llvm-commits] [llvm] r149588 - in /llvm/trunk: lib/CodeGen/LiveInterval.cpp test/CodeGen/Generic/2012-02-01-CoalescerBug.ll

NAKAMURA Takumi geek4civic at gmail.com
Thu Feb 2 03:51:19 PST 2012


2012/2/2 Lang Hames <lhames at gmail.com>:
> Author: lhames
> Date: Wed Feb  1 23:37:34 2012
> New Revision: 149588
>
> URL: http://llvm.org/viewvc/llvm-project?rev=149588&view=rev
> Log:
> PR11868. The previous loop in LiveIntervals::join would sometimes fall over if
> more than two adjacent ranges needed to be merged. The new version should be
> able to handle an arbitrary sequence of adjancent ranges.

> --- llvm/trunk/test/CodeGen/Generic/2012-02-01-CoalescerBug.ll (added)
> +++ llvm/trunk/test/CodeGen/Generic/2012-02-01-CoalescerBug.ll Wed Feb  1 23:37:34 2012
> @@ -0,0 +1,26 @@
> +; RUN: llc -verify-coalescing < %s
> +; PR11868
> +
> +target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32-S64"
> +target triple = "armv7-none-linux-gnueabi"

It must fail without targets=arm.

Worked around in r149604.
Please restore it if you could reproduce on other targets.

...Takumi




More information about the llvm-commits mailing list