[llvm] r228186 - StructurizeCFG: Use a reverse post-order traversal
Ahmed Bougacha
ahmed.bougacha at gmail.com
Fri Mar 13 18:52:34 PDT 2015
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
More information about the llvm-commits
mailing list