llvm.org GIT mirror llvm / 3a14d0f
test/CodeGen/X86/avx-minmax.ll: Relax expressions for Win32 targets. YMM arguments are passed as indirect on Win32 x64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149505 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 7 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
3232 }
3333
3434 ; UNSAFE: vmaxpd:
35 ; UNSAFE: vmaxpd %ymm
35 ; UNSAFE: vmaxpd {{.+}}, %ymm
3636 define <4 x double> @vmaxpd(<4 x double> %x, <4 x double> %y) {
3737 %max_is_x = fcmp oge <4 x double> %x, %y
3838 %max = select <4 x i1> %max_is_x, <4 x double> %x, <4 x double> %y
4040 }
4141
4242 ; UNSAFE: vminpd:
43 ; UNSAFE: vminpd %ymm
43 ; UNSAFE: vminpd {{.+}}, %ymm
4444 define <4 x double> @vminpd(<4 x double> %x, <4 x double> %y) {
4545 %min_is_x = fcmp ole <4 x double> %x, %y
4646 %min = select <4 x i1> %min_is_x, <4 x double> %x, <4 x double> %y
4848 }
4949
5050 ; UNSAFE: vmaxps:
51 ; UNSAFE: vmaxps %ymm
51 ; UNSAFE: vmaxps {{.+}}, %ymm
5252 define <8 x float> @vmaxps(<8 x float> %x, <8 x float> %y) {
5353 %max_is_x = fcmp oge <8 x float> %x, %y
5454 %max = select <8 x i1> %max_is_x, <8 x float> %x, <8 x float> %y
5656 }
5757
5858 ; UNSAFE: vminps:
59 ; UNSAFE: vminps %ymm
59 ; UNSAFE: vminps {{.+}}, %ymm
6060 define <8 x float> @vminps(<8 x float> %x, <8 x float> %y) {
6161 %min_is_x = fcmp ole <8 x float> %x, %y
6262 %min = select <8 x i1> %min_is_x, <8 x float> %x, <8 x float> %y