diff options
Diffstat (limited to 'test/Transforms/LoopVectorize/lcssa-crash.ll')
-rw-r--r-- | test/Transforms/LoopVectorize/lcssa-crash.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Transforms/LoopVectorize/lcssa-crash.ll b/test/Transforms/LoopVectorize/lcssa-crash.ll index 06b3b08..de6be54 100644 --- a/test/Transforms/LoopVectorize/lcssa-crash.ll +++ b/test/Transforms/LoopVectorize/lcssa-crash.ll @@ -27,3 +27,14 @@ for.end.i.i.i: unreachable } +; PR16139 +define void @test2(i8* %x) { +entry: + indirectbr i8* %x, [ label %L0, label %L1 ] + +L0: + br label %L0 + +L1: + ret void +} |