Shrink Thumb2 movcc instructions.
[llvm/avr.git] / test / CodeGen / X86 / 2008-08-19-SubAndFetch.ll
blob72efa16866bbf322a91a3db109a30b7c4ef0629d
1 ; RUN: llvm-as < %s | llc -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