18 lines · plain
1; RUN: not opt -passes='loop-mssa(loop-unroll-full)' 2>&1 < %s | FileCheck %s2 3; CHECK: LLVM ERROR: Loop pass manager using MemorySSA contains a pass that does not preserve MemorySSA4 5define void @test() {6entry:7 br label %loop8 9loop:10 %i = phi i32 [ 0, %entry ], [ %i.inc, %loop ]11 %i.inc = add i32 %i, 112 %c = icmp ult i32 %i, 813 br i1 %c, label %loop, label %exit14 15exit:16 ret void17}18