diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2018-08-09 22:20:44 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2018-08-09 22:20:44 +0000 |
| commit | c6944f795d846ae55f8375dd0f8f8ef2045d4cfb (patch) | |
| tree | 3cf71c4520086ee23bfaa13682383a4742e64ad6 /llvm/test/Transforms/InstCombine/minnum.ll | |
| parent | 94abc57e3751f591fdb0655419eb129252d1f9c7 (diff) | |
| download | bcm5719-llvm-c6944f795d846ae55f8375dd0f8f8ef2045d4cfb.tar.gz bcm5719-llvm-c6944f795d846ae55f8375dd0f8f8ef2045d4cfb.zip | |
[InstSimplify] move minnum/maxnum with Inf folds from instcombine
llvm-svn: 339396
Diffstat (limited to 'llvm/test/Transforms/InstCombine/minnum.ll')
| -rw-r--r-- | llvm/test/Transforms/InstCombine/minnum.ll | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/llvm/test/Transforms/InstCombine/minnum.ll b/llvm/test/Transforms/InstCombine/minnum.ll index 94c8b5518b2..a5236d2e50f 100644 --- a/llvm/test/Transforms/InstCombine/minnum.ll +++ b/llvm/test/Transforms/InstCombine/minnum.ll @@ -182,23 +182,6 @@ define float @maxnum_x_minnum_x_y(float %x, float %y) { ret float %b } -define float @fold_minnum_f32_inf_val(float %x) { -; CHECK-LABEL: @fold_minnum_f32_inf_val( -; CHECK-NEXT: [[VAL:%.*]] = call float @llvm.minnum.f32(float [[X:%.*]], float 0x7FF0000000000000) -; CHECK-NEXT: ret float [[VAL]] -; - %val = call float @llvm.minnum.f32(float 0x7FF0000000000000, float %x) - ret float %val -} - -define float @fold_minnum_f32_minf_val(float %x) { -; CHECK-LABEL: @fold_minnum_f32_minf_val( -; CHECK-NEXT: ret float 0xFFF0000000000000 -; - %val = call float @llvm.minnum.f32(float 0xFFF0000000000000, float %x) - ret float %val -} - ; PR37405 - https://bugs.llvm.org/show_bug.cgi?id=37405 define double @neg_neg(double %x, double %y) { |

