projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[X86] Do not lower scalar sdiv/udiv to a shifts + mul sequence when optimizing for...
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
2008-08-19-SubAndFetch.ll
1
; RUN: llc < %s -march=x86-64 | FileCheck %s
2
3
@var = external global i64 ; <i64*> [#uses=1]
4
5
define i32 @main() nounwind {
6
entry:
7
; CHECK-LABEL: main:
8
; CHECK: lock
9
; CHECK: decq
10
atomicrmw sub i64* @var, i64 1 monotonic
11
unreachable
12
}