1 ; RUN: llc -mtriple mips64-unknown-linux -mcpu=mips64r5 -mattr=+msa < %s | FileCheck %s
3 ; The fcmp fast flag will result in conversion from
4 ; setolt, setoeq, setole, setone to
5 ; setlt, seteq, setle, setne nodes.
6 ; Test that the latter nodes are matched to the same instructions as the former.
8 define <2 x i1> @testlt_v2f64(<2 x double> %a, <2 x double> %b) {
10 %0 = fcmp fast olt <2 x double> %a, %b
15 define <4 x i1> @testlt_v4f32(<4 x float> %a, <4 x float> %b) {
17 %0 = fcmp fast olt <4 x float> %a, %b
22 define <2 x i1> @testeq_v2f64(<2 x double> %a, <2 x double> %b) {
24 %0 = fcmp fast oeq <2 x double> %a, %b
29 define <4 x i1> @testeq_v4f32(<4 x float> %a, <4 x float> %b) {
31 %0 = fcmp fast oeq <4 x float> %a, %b
36 define <2 x i1> @testle_v2f64(<2 x double> %a, <2 x double> %b) {
38 %0 = fcmp fast ole <2 x double> %a, %b
43 define <4 x i1> @testle_v4f32(<4 x float> %a, <4 x float> %b) {
45 %0 = fcmp fast ole <4 x float> %a, %b
50 define <2 x i1> @testne_v2f64(<2 x double> %a, <2 x double> %b) {
52 %0 = fcmp fast one <2 x double> %a, %b
57 define <4 x i1> @testne_v4f32(<4 x float> %a, <4 x float> %b) {
59 %0 = fcmp fast one <4 x float> %a, %b