remove the "old" at&t style asmprinter. Unfortunately, most of the
[llvm/avr.git] / test / CodeGen / X86 / 2008-08-19-SubAndFetch.ll
blob8475e8d354e5825c9b824dd1386df1f7e46a23c8
1 ; RUN: llc < %s -march=x86-64 | FileCheck %s
3 @var = external global i64              ; <i64*> [#uses=1]
5 define i32 @main() nounwind {
6 entry:
7 ; CHECK: main:
8 ; CHECK: lock
9 ; CHECK: decq
10         tail call i64 @llvm.atomic.load.sub.i64.p0i64( i64* @var, i64 1 )               ; <i64>:0 [#uses=0]
11         unreachable
14 declare i64 @llvm.atomic.load.sub.i64.p0i64(i64*, i64) nounwind