[llvm-commits] [llvm] r129690 - /llvm/trunk/test/CodeGen/X86/lock-inst-encoding.ll

Chris Lattner sabre at nondot.org
Sun Apr 17 23:15:35 PDT 2011


Author: lattner
Date: Mon Apr 18 01:15:35 2011
New Revision: 129690

URL: http://llvm.org/viewvc/llvm-project?rev=129690&view=rev
Log:
relax this test to just check that the lock prefix is encoded properly,
and to not rely on the register allocator's arbitrary operand choices.

Modified:
    llvm/trunk/test/CodeGen/X86/lock-inst-encoding.ll

Modified: llvm/trunk/test/CodeGen/X86/lock-inst-encoding.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/lock-inst-encoding.ll?rev=129690&r1=129689&r2=129690&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/lock-inst-encoding.ll (original)
+++ llvm/trunk/test/CodeGen/X86/lock-inst-encoding.ll Mon Apr 18 01:15:35 2011
@@ -4,8 +4,7 @@
 target triple = "x86_64-apple-darwin10.0.0"
 
 ; CHECK: f0:
-; CHECK: addq %rcx, (%rdi)
-; CHECK: # encoding: [0xf0,0x48,0x01,0x0f]
+; CHECK: addq %{{.*}}, ({{.*}}){{.*}}encoding: [0xf0,
 ; CHECK: ret
 define void @f0(i64* %a0) nounwind {
   %t0 = and i64 1, 1





More information about the llvm-commits mailing list