[llvm] 5b4bbaa - [SystemZ] generate full checks for tests; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 30 06:04:37 PDT 2022
Author: Sanjay Patel
Date: 2022-03-30T08:37:15-04:00
New Revision: 5b4bbaa8d856e7c56b92658df77efbf2a260d7a0
URL: https://github.com/llvm/llvm-project/commit/5b4bbaa8d856e7c56b92658df77efbf2a260d7a0
DIFF: https://github.com/llvm/llvm-project/commit/5b4bbaa8d856e7c56b92658df77efbf2a260d7a0.diff
LOG: [SystemZ] generate full checks for tests; NFC
These may change if we transform the fcmp (setcc) to avoid a constant operand.
Added:
Modified:
llvm/test/CodeGen/SystemZ/fp-cmp-04.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/SystemZ/fp-cmp-04.ll b/llvm/test/CodeGen/SystemZ/fp-cmp-04.ll
index 23ff1b7da2881..a0064f2fc8c71 100644
--- a/llvm/test/CodeGen/SystemZ/fp-cmp-04.ll
+++ b/llvm/test/CodeGen/SystemZ/fp-cmp-04.ll
@@ -370,9 +370,12 @@ exit:
; result. This is what InstCombine would produce.
define float @f18(float %dummy, float %a, float *%dest) {
; CHECK-LABEL: f18:
-; CHECK: lnebr %f0, %f2
-; CHECK-NEXT: blr %r14
-; CHECK: br %r14
+; CHECK: # %bb.0: # %entry
+; CHECK-NEXT: lnebr %f0, %f2
+; CHECK-NEXT: blr %r14
+; CHECK-NEXT: .LBB17_1: # %store
+; CHECK-NEXT: ste %f0, 0(%r2)
+; CHECK-NEXT: br %r14
entry:
%abs = call float @llvm.fabs.f32(float %a)
%res = fneg float %abs
@@ -390,9 +393,12 @@ exit:
; Similarly for f8.
define float @f19(float %dummy, float %a, float *%dest) {
; CHECK-LABEL: f19:
-; CHECK: lcebr %f0, %f2
-; CHECK-NEXT: bler %r14
-; CHECK: br %r14
+; CHECK: # %bb.0: # %entry
+; CHECK-NEXT: lcebr %f0, %f2
+; CHECK-NEXT: bler %r14
+; CHECK-NEXT: .LBB18_1: # %store
+; CHECK-NEXT: ste %f0, 0(%r2)
+; CHECK-NEXT: br %r14
entry:
%res = fneg float %a
%cmp = fcmp oge float %a, 0.0
More information about the llvm-commits
mailing list