projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix a problem where the TwoAddressInstructionPass which generate redundant register...
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
pr21099.ll
1
; RUN: llc < %s -O2 -march=x86-64 -verify-machineinstrs | FileCheck %s
2
3
define void @pr21099(i64* %p) {
4
; CHECK-LABEL: pr21099
5
; CHECK: lock
6
; CHECK-NEXT: addq $-2147483648
7
; This number is INT32_MIN: 0x80000000UL
8
%1 = atomicrmw add i64* %p, i64 -2147483648 seq_cst
9
ret void
10
}