diff options
Diffstat (limited to 'test/Transforms')
-rw-r--r-- | test/Transforms/Reassociate/crash.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Transforms/Reassociate/crash.ll b/test/Transforms/Reassociate/crash.ll index bbe4f23..e2ebcdd 100644 --- a/test/Transforms/Reassociate/crash.ll +++ b/test/Transforms/Reassociate/crash.ll @@ -108,3 +108,14 @@ unreachable4: %z4 = add i32 %y4, %y4 ret void } + +; PR13185 +define void @pr13185(i16 %p) { +entry: + br label %for.cond + +for.cond: ; preds = %for.cond, %entry + %x.0 = phi i32 [ undef, %entry ], [ %conv, %for.cond ] + %conv = zext i16 %p to i32 + br label %for.cond +} |