[llvm] 25207d5 - [x86] add test check lines to demonstrate FMF propagation failure; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Wed May 19 10:14:49 PDT 2021
Author: Sanjay Patel
Date: 2021-05-19T13:11:15-04:00
New Revision: 25207d5f81385e425f67283f7abd10d5f01b7f37
URL: https://github.com/llvm/llvm-project/commit/25207d5f81385e425f67283f7abd10d5f01b7f37
DIFF: https://github.com/llvm/llvm-project/commit/25207d5f81385e425f67283f7abd10d5f01b7f37.diff
LOG: [x86] add test check lines to demonstrate FMF propagation failure; NFC
Added:
Modified:
llvm/test/CodeGen/X86/fmf-propagation.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/X86/fmf-propagation.ll b/llvm/test/CodeGen/X86/fmf-propagation.ll
index 44ce80371266..225c1fbbd230 100644
--- a/llvm/test/CodeGen/X86/fmf-propagation.ll
+++ b/llvm/test/CodeGen/X86/fmf-propagation.ll
@@ -48,8 +48,12 @@ define float @fmf_setcc_canon(float %x, float %y) {
declare <16 x float> @llvm.x86.avx512.vfmadd.ps.512(<16 x float>, <16 x float>, <16 x float>, i32)
; CHECK-LABEL: Initial selection DAG: %bb.0 'fmf_target_intrinsic:'
-; CHECK: v16f32 = llvm.x86.avx512.vfmadd.ps.512 ninf nsz TargetConstant:i64<{{.*}}>
-; CHECK: v16f32 = llvm.x86.avx512.vfmadd.ps.512 nsz TargetConstant:i64<{{.*}}>
+; CHECK: v16f32 = llvm.x86.avx512.vfmadd.ps.512 ninf nsz TargetConstant:i64<{{.*}}>
+; CHECK: v16f32 = llvm.x86.avx512.vfmadd.ps.512 nsz TargetConstant:i64<{{.*}}>
+
+; CHECK-LABEL: Legalized selection DAG: %bb.0 'fmf_target_intrinsic:'
+; CHECK: v16f32 = fma t{{.*}}
+; CHECK: v16f32 = fma t{{.*}}
define <16 x float> @fmf_target_intrinsic(<16 x float> %a, <16 x float> %b, <16 x float> %c) nounwind {
%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)
More information about the llvm-commits
mailing list