repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
EarlyCSE
/
instsimplify-dom.ll
blob
2b281aa73e3c0ec22e1a5980907e30bd102eccfa
1
; RUN: opt -early-cse -earlycse-debug-hash -S < %s | FileCheck %s
2
; RUN: opt -basic-aa -early-cse-memssa -S < %s | FileCheck %s
3
; PR12231
4
5
declare i32 @f()
6
7
define i32 @fn() {
8
entry:
9
br label %lbl_1215
10
11
lbl_1215:
12
%ins34 = phi i32 [ %ins35, %xxx ], [ undef, %entry ]
13
ret i32 %ins34
14
15
xxx:
16
%ins35 = call i32 @f()
17
br label %lbl_1215
18
}
19
20
; CHECK-LABEL: define i32 @fn(