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
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
InstCombine
/
2003-05-27-ConstExprCrash.ll
blob
778083e3ae03a5718435725baf90c43fb80d88ec
1
; RUN: opt < %s -passes=instcombine -disable-output
2
3
@X = global i32 5 ; <ptr> [#uses=1]
4
5
define i64 @test() {
6
%C = add i64 1, 2 ; <i64> [#uses=1]
7
%V = add i64 ptrtoint (ptr @X to i64), %C ; <i64> [#uses=1]
8
ret i64 %V
9
}
10