Bump version to 19.1.0-rc3
[llvm-project.git] / llvm / test / Transforms / ConstantMerge / 2002-09-23-CPR-Update.ll
blob65b8ac73dd10ae09346a2ad4d4db92ec67ab435d
1 ; RUN: opt < %s -passes=constmerge > /dev/null
3 @foo.upgrd.1 = internal constant { i32 } { i32 7 }              ; <ptr> [#uses=1]
4 @bar = internal constant { i32 } { i32 7 }              ; <ptr> [#uses=1]
6 declare i32 @test(ptr)
8 define void @foo() {
9         call i32 @test( ptr @foo.upgrd.1 )              ; <i32>:1 [#uses=0]
10         call i32 @test( ptr @bar )              ; <i32>:2 [#uses=0]
11         ret void