From a25114b90268d376dc0c1909aecc82058342aa96 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Wed, 23 Jul 2014 22:38:25 +0000 Subject: [PATCH] Let llvm/test/CodeGen/X86/avx512*-mask-op.ll(s) aware of Win32 x64 calling convention. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213812 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/avx512-mask-op.ll | 8 ++++---- test/CodeGen/X86/avx512bw-mask-op.ll | 8 ++++---- test/CodeGen/X86/avx512dq-mask-op.ll | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/test/CodeGen/X86/avx512-mask-op.ll b/test/CodeGen/X86/avx512-mask-op.ll index 24a266b3644..2400370b350 100644 --- a/test/CodeGen/X86/avx512-mask-op.ll +++ b/test/CodeGen/X86/avx512-mask-op.ll @@ -32,9 +32,9 @@ define void @mask16_mem(i16* %ptr) { store i16 %ret, i16* %ptr, align 4 ret void ; CHECK-LABEL: mask16_mem -; CHECK: kmovw (%rdi), %k{{[0-7]}} +; CHECK: kmovw ([[ARG1:%rdi|%rcx]]), %k{{[0-7]}} ; CHECK-NEXT: knotw -; CHECK-NEXT: kmovw %k{{[0-7]}}, (%rdi) +; CHECK-NEXT: kmovw %k{{[0-7]}}, ([[ARG1]]) ; CHECK: ret } @@ -46,9 +46,9 @@ define void @mask8_mem(i8* %ptr) { store i8 %ret, i8* %ptr, align 4 ret void ; CHECK-LABEL: mask8_mem -; CHECK: kmovw (%rdi), %k{{[0-7]}} +; CHECK: kmovw ([[ARG1]]), %k{{[0-7]}} ; CHECK-NEXT: knotw -; CHECK-NEXT: kmovw %k{{[0-7]}}, (%rdi) +; CHECK-NEXT: kmovw %k{{[0-7]}}, ([[ARG1]]) ; CHECK: ret } diff --git a/test/CodeGen/X86/avx512bw-mask-op.ll b/test/CodeGen/X86/avx512bw-mask-op.ll index 32c1551ba48..611982d1c6c 100644 --- a/test/CodeGen/X86/avx512bw-mask-op.ll +++ b/test/CodeGen/X86/avx512bw-mask-op.ll @@ -45,9 +45,9 @@ define void @mask32_mem(i32* %ptr) { store i32 %ret, i32* %ptr, align 4 ret void ; CHECK-LABEL: mask32_mem -; CHECK: kmovd (%rdi), %k{{[0-7]}} +; CHECK: kmovd ([[ARG1:%rdi|%rcx]]), %k{{[0-7]}} ; CHECK-NEXT: knotd -; CHECK-NEXT: kmovd %k{{[0-7]}}, (%rdi) +; CHECK-NEXT: kmovd %k{{[0-7]}}, ([[ARG1]]) ; CHECK_NEXT: ret } @@ -66,8 +66,8 @@ define void @mask64_mem(i64* %ptr) { store i64 %ret, i64* %ptr, align 4 ret void ; CHECK-LABEL: mask64_mem -; CHECK: kmovq (%rdi), %k{{[0-7]}} +; CHECK: kmovq ([[ARG1]]), %k{{[0-7]}} ; CHECK-NEXT: knotq -; CHECK-NEXT: kmovq %k{{[0-7]}}, (%rdi) +; CHECK-NEXT: kmovq %k{{[0-7]}}, ([[ARG1]]) ; CHECK_NEXT: ret } diff --git a/test/CodeGen/X86/avx512dq-mask-op.ll b/test/CodeGen/X86/avx512dq-mask-op.ll index de50e81b026..19f34282f39 100644 --- a/test/CodeGen/X86/avx512dq-mask-op.ll +++ b/test/CodeGen/X86/avx512dq-mask-op.ll @@ -18,8 +18,8 @@ define void @mask8_mem(i8* %ptr) { store i8 %ret, i8* %ptr, align 4 ret void ; CHECK-LABEL: mask8_mem -; CHECK: kmovb (%rdi), %k{{[0-7]}} +; CHECK: kmovb ([[ARG1:%rdi|%rcx]]), %k{{[0-7]}} ; CHECK-NEXT: knotb -; CHECK-NEXT: kmovb %k{{[0-7]}}, (%rdi) +; CHECK-NEXT: kmovb %k{{[0-7]}}, ([[ARG1]]) ; CHECK: ret } -- 2.34.1