projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Taints the non-acquire RMW's store address with the load part
[oota-llvm.git]
/
test
/
Transforms
/
Reassociate
/
2002-05-15-AgressiveSubMove.ll
1
; RUN: opt < %s -reassociate -S | FileCheck %s
2
3
define i32 @test1(i32 %A) {
4
; CHECK-LABEL: test1
5
; CHECK: ret i32 0
6
%X = add i32 %A, 1
7
%Y = add i32 %A, 1
8
%r = sub i32 %X, %Y
9
ret i32 %r
10
}