X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2F2008-08-19-SubAndFetch.ll;h=9324d5dfa3bb84721c67dc4dc52aea9f28e1c71c;hb=189930760d7e60fad850ebc28c51eb424348e3ed;hp=72efa16866bbf322a91a3db109a30b7c4ef0629d;hpb=37b7387da90ffd42d28ad0f08fca00b684294b2c;p=oota-llvm.git diff --git a/test/CodeGen/X86/2008-08-19-SubAndFetch.ll b/test/CodeGen/X86/2008-08-19-SubAndFetch.ll index 72efa16866b..9324d5dfa3b 100644 --- a/test/CodeGen/X86/2008-08-19-SubAndFetch.ll +++ b/test/CodeGen/X86/2008-08-19-SubAndFetch.ll @@ -1,14 +1,12 @@ -; RUN: llvm-as < %s | llc -march=x86-64 | FileCheck %s +; RUN: llc < %s -march=x86-64 | FileCheck %s @var = external global i64 ; [#uses=1] define i32 @main() nounwind { entry: -; CHECK: main: +; CHECK-LABEL: main: ; CHECK: lock ; CHECK: decq - tail call i64 @llvm.atomic.load.sub.i64.p0i64( i64* @var, i64 1 ) ; :0 [#uses=0] + atomicrmw sub i64* @var, i64 1 monotonic unreachable } - -declare i64 @llvm.atomic.load.sub.i64.p0i64(i64*, i64) nounwind