diff options
Diffstat (limited to 'test/Transforms/InstCombine/not-fcmp.ll')
-rw-r--r-- | test/Transforms/InstCombine/not-fcmp.ll | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/not-fcmp.ll b/test/Transforms/InstCombine/not-fcmp.ll index ad01a6b..9718e0b 100644 --- a/test/Transforms/InstCombine/not-fcmp.ll +++ b/test/Transforms/InstCombine/not-fcmp.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "fcmp uge" +; RUN: opt < %s -instcombine -S | FileCheck %s ; PR1570 define i1 @f(float %X, float %Y) { @@ -6,5 +6,8 @@ entry: %tmp3 = fcmp olt float %X, %Y ; <i1> [#uses=1] %toBoolnot5 = xor i1 %tmp3, true ; <i1> [#uses=1] ret i1 %toBoolnot5 +; CHECK-LABEL: @f( +; CHECK-NEXT: entry: +; CHECK-NEXT: %toBoolnot5 = fcmp uge float %X, %Y +; CHECK-NEXT: ret i1 %toBoolnot5 } - |