[llvm-commits] [llvm] r160124 - /llvm/trunk/test/CodeGen/X86/rdrand.ll
NAKAMURA Takumi
geek4civic at gmail.com
Thu Jul 12 03:22:57 PDT 2012
Author: chapuni
Date: Thu Jul 12 05:22:57 2012
New Revision: 160124
URL: http://llvm.org/viewvc/llvm-project?rev=160124&view=rev
Log:
llvm/test/CodeGen/X86/rdrand.ll: Relax expression corresponding to Win64 CC.
Modified:
llvm/trunk/test/CodeGen/X86/rdrand.ll
Modified: llvm/trunk/test/CodeGen/X86/rdrand.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/rdrand.ll?rev=160124&r1=160123&r2=160124&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/rdrand.ll (original)
+++ llvm/trunk/test/CodeGen/X86/rdrand.ll Thu Jul 12 05:22:57 2012
@@ -11,7 +11,7 @@
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 @@
%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 @@
%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
}
More information about the llvm-commits
mailing list