aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-07-12 10:22:57 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-07-12 10:22:57 +0000
commit223875e3f88518bfe23c6b79af5e2968326a27e7 (patch)
tree481b6c9fa04fb2a949180cbac7d4ed95b555e14d /test
parent6d0044a45563befe542aab733e02bbe44b5ea042 (diff)
downloadexternal_llvm-223875e3f88518bfe23c6b79af5e2968326a27e7.zip
external_llvm-223875e3f88518bfe23c6b79af5e2968326a27e7.tar.gz
external_llvm-223875e3f88518bfe23c6b79af5e2968326a27e7.tar.bz2
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
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/rdrand.ll14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/CodeGen/X86/rdrand.ll b/test/CodeGen/X86/rdrand.ll
index 04dc071..78af936 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
}