diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2018-11-06 16:07:39 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2018-11-06 16:07:39 +0000 |
| commit | 6aea3071e87c7270631ea3799eccbe75b119289c (patch) | |
| tree | cdf55caff2ed7251c9252d5b5b71b3dcc1ef1e1b /llvm/test/Transforms/InstCombine | |
| parent | 2fd5b0ebfba459c6cfb24f111d2cdd4959269d12 (diff) | |
| download | bcm5719-llvm-6aea3071e87c7270631ea3799eccbe75b119289c.tar.gz bcm5719-llvm-6aea3071e87c7270631ea3799eccbe75b119289c.zip | |
[InstCombine] adjust tests to show dropping FMF; NFC
llvm-svn: 346239
Diffstat (limited to 'llvm/test/Transforms/InstCombine')
| -rw-r--r-- | llvm/test/Transforms/InstCombine/fcmp.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/InstCombine/fcmp.ll b/llvm/test/Transforms/InstCombine/fcmp.ll index b392c57d1f3..d48d75a7fca 100644 --- a/llvm/test/Transforms/InstCombine/fcmp.ll +++ b/llvm/test/Transforms/InstCombine/fcmp.ll @@ -12,7 +12,7 @@ define i1 @test1(float %x, float %y) { ; %ext1 = fpext float %x to double %ext2 = fpext float %y to double - %cmp = fcmp ogt double %ext1, %ext2 + %cmp = fcmp nnan ogt double %ext1, %ext2 ret i1 %cmp } @@ -22,7 +22,7 @@ define i1 @test2(float %a) { ; CHECK-NEXT: ret i1 [[CMP]] ; %ext = fpext float %a to double - %cmp = fcmp ogt double %ext, 1.000000e+00 + %cmp = fcmp ninf ogt double %ext, 1.000000e+00 ret i1 %cmp } |

