From 223875e3f88518bfe23c6b79af5e2968326a27e7 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 12 Jul 2012 10:22:57 +0000 Subject: [PATCH] llvm/test/CodeGen/X86/rdrand.ll: Relax expression corresponding to Win64 CC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160124 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/rdrand.ll | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/CodeGen/X86/rdrand.ll b/test/CodeGen/X86/rdrand.ll index 04dc0715758..78af936a4d3 100644 --- a/test/CodeGen/X86/rdrand.ll +++ b/test/CodeGen/X86/rdrand.ll @@ -11,7 +11,7 @@ define i32 @_rdrand16_step(i16* %random_val) { ret i32 %isvalid ; CHECK: _rdrand16_step: ; CHECK: rdrandw %ax -; CHECK: movw %ax, (%rdi) +; CHECK: movw %ax, (%r[[A0:di|cx]]) ; CHECK: movzwl %ax, %ecx ; CHECK: movl $1, %eax ; CHECK: cmovael %ecx, %eax @@ -25,10 +25,10 @@ define i32 @_rdrand32_step(i32* %random_val) { %isvalid = extractvalue {i32, i32} %call, 1 ret i32 %isvalid ; CHECK: _rdrand32_step: -; CHECK: rdrandl %ecx -; CHECK: movl %ecx, (%rdi) +; CHECK: rdrandl %e[[T0:[a-z]+]] +; CHECK: movl %e[[T0]], (%r[[A0]]) ; CHECK: movl $1, %eax -; CHECK: cmovael %ecx, %eax +; CHECK: cmovael %e[[T0]], %eax ; CHECK: ret } @@ -39,9 +39,9 @@ define i32 @_rdrand64_step(i64* %random_val) { %isvalid = extractvalue {i64, i32} %call, 1 ret i32 %isvalid ; CHECK: _rdrand64_step: -; CHECK: rdrandq %rcx -; CHECK: movq %rcx, (%rdi) +; CHECK: rdrandq %r[[T1:[[a-z]+]] +; CHECK: movq %r[[T1]], (%r[[A0]]) ; CHECK: movl $1, %eax -; CHECK: cmovael %ecx, %eax +; CHECK: cmovael %e[[T1]], %eax ; CHECK: ret }