diff options
Diffstat (limited to 'llvm/test/Transforms/InstCombine/crash.ll')
-rw-r--r-- | llvm/test/Transforms/InstCombine/crash.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Transforms/InstCombine/crash.ll b/llvm/test/Transforms/InstCombine/crash.ll index 60cb7477879..e87a30254e6 100644 --- a/llvm/test/Transforms/InstCombine/crash.ll +++ b/llvm/test/Transforms/InstCombine/crash.ll @@ -335,3 +335,9 @@ ret void declare i32 @func_14() + +define double @test16(i32 %a) nounwind { + %cmp = icmp slt i32 %a, 2 + %select = select i1 %cmp, double 2.000000e+00, double 3.141592e+00 + ret double %select +} |