Skip to content

Commit 25207d5

Browse files
committed
[x86] add test check lines to demonstrate FMF propagation failure; NFC
1 parent b661a55 commit 25207d5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

llvm/test/CodeGen/X86/fmf-propagation.ll

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,12 @@ define float @fmf_setcc_canon(float %x, float %y) {
4848
declare <16 x float> @llvm.x86.avx512.vfmadd.ps.512(<16 x float>, <16 x float>, <16 x float>, i32)
4949

5050
; CHECK-LABEL: Initial selection DAG: %bb.0 'fmf_target_intrinsic:'
51-
; CHECK: v16f32 = llvm.x86.avx512.vfmadd.ps.512 ninf nsz TargetConstant:i64<{{.*}}>
52-
; CHECK: v16f32 = llvm.x86.avx512.vfmadd.ps.512 nsz TargetConstant:i64<{{.*}}>
51+
; CHECK: v16f32 = llvm.x86.avx512.vfmadd.ps.512 ninf nsz TargetConstant:i64<{{.*}}>
52+
; CHECK: v16f32 = llvm.x86.avx512.vfmadd.ps.512 nsz TargetConstant:i64<{{.*}}>
53+
54+
; CHECK-LABEL: Legalized selection DAG: %bb.0 'fmf_target_intrinsic:'
55+
; CHECK: v16f32 = fma t{{.*}}
56+
; CHECK: v16f32 = fma t{{.*}}
5357

5458
define <16 x float> @fmf_target_intrinsic(<16 x float> %a, <16 x float> %b, <16 x float> %c) nounwind {
5559
%t0 = tail call ninf nsz <16 x float> @llvm.x86.avx512.vfmadd.ps.512(<16 x float> %a, <16 x float> %b, <16 x float> %c, i32 4)

0 commit comments

Comments
 (0)