[llvm] r228186 - StructurizeCFG: Use a reverse post-order traversal

Jonathan Roelofs via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 12:53:50 PDT 2015


Accidentally sent this to the old list...

On 8/10/15 1:30 PM, Jonathan Roelofs wrote:
> Ping.
>
> On 3/13/15 7:52 PM, Ahmed Bougacha wrote:
>> On Wed, Feb 4, 2015 at 12:49 PM, Tom Stellard
>> <thomas.stellard at amd.com> wrote:
>>> Added: llvm/trunk/test/Transforms/StructurizeCFG/nested-loop-order.ll
>>> URL:
>>> http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/StructurizeCFG/nested-loop-order.ll?rev=228186&view=auto
>>>
>>> +; CHECK: ENDIF:
>>> +; CHECK: br i1 %tmp31, label %IF29, label %Flow1
>>> +ENDIF:                                            ; preds = %LOOP
>>> +  %tmp31 = icmp sgt i32 %tmp20, 1
>>> +  br i1 %tmp31, label %IF29, label %ENDIF28
>>> +
>>> +; CHECK: Flow:
>>> +; CHECK br i1 %{{[0-9]+}}, label %Flow, label %LOOP
>>
>> Missing `:` here as well, currently generates %Flow2, which is better
>> than %Flow, but maybe not correct.
>>
>> -Ahmed
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
>

-- 
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded


More information about the llvm-commits mailing list