llvm.org GIT mirror llvm / 26b9bb1
[AArch64] enhance test to show FMF loss; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332301 91177308-0d34-0410-b5e6-96231b3b80d8 Sanjay Patel 1 year, 5 months ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
88 ; CHECK-NEXT: Analyzing result type: v4f64
99 ; CHECK-NEXT: Split node result: [[VFOUR]]: v4f64 = BUILD_VECTOR
1010
11 ; FIXME: We dropped the 'reassoc' flag.
1112 ; CHECK: Legalizing node: [[VTWO:t.*]]: v2f64 = BUILD_VECTOR
1213 ; CHECK: Legally typed node: [[VTWO]]: v2f64 = BUILD_VECTOR
1314 ; CHECK: Legalizing node: t26: v2f64 = fmaxnum nnan [[VTWO]], [[VTWO]]
2324 %1 = insertelement <4 x double> %0, double 1.0, i32 1
2425 %2 = insertelement <4 x double> %1, double 1.0, i32 2
2526 %3 = insertelement <4 x double> %2, double 1.0, i32 3
26 %4 = call nnan double @llvm.experimental.vector.reduce.fmax.f64.v4f64(<4 x double> %3)
27 %4 = call nnan reassoc double @llvm.experimental.vector.reduce.fmax.f64.v4f64(<4 x double> %3)
2728 ret double %4
2829 }
2930