X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2F2008-08-19-SubAndFetch.ll;h=9324d5dfa3bb84721c67dc4dc52aea9f28e1c71c;hb=94d0a9154e9ec3df3398f11649c024ef8378b9c8;hp=8475e8d354e5825c9b824dd1386df1f7e46a23c8;hpb=36a0947820fd4aa4b8a5fa26e3f079bdf572bc81;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 8475e8d354e..9324d5dfa3b 100644 --- a/test/CodeGen/X86/2008-08-19-SubAndFetch.ll +++ b/test/CodeGen/X86/2008-08-19-SubAndFetch.ll @@ -4,11 +4,9 @@ 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