diff options
author | Chris Lattner <sabre@nondot.org> | 2011-04-18 06:15:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-04-18 06:15:35 +0000 |
commit | 1023643d501b4375b261eb5449a2bb0195f49780 (patch) | |
tree | 2fd7c4660304fee9aed2c6d080a4b879166cb885 /test/CodeGen/X86/lock-inst-encoding.ll | |
parent | 205132e904680f99d05783c3652b0fa6a27019ee (diff) | |
download | external_llvm-1023643d501b4375b261eb5449a2bb0195f49780.zip external_llvm-1023643d501b4375b261eb5449a2bb0195f49780.tar.gz external_llvm-1023643d501b4375b261eb5449a2bb0195f49780.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/lock-inst-encoding.ll')
-rw-r--r-- | test/CodeGen/X86/lock-inst-encoding.ll | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CodeGen/X86/lock-inst-encoding.ll b/test/CodeGen/X86/lock-inst-encoding.ll index 159aeee..2d10fbc 100644 --- a/test/CodeGen/X86/lock-inst-encoding.ll +++ b/test/CodeGen/X86/lock-inst-encoding.ll @@ -4,8 +4,7 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3 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 |