When removing a function from the function set and adding it to deferred, we
[llvm.git] / test / Transforms / SCCP / apint-ipsccp3.ll
blob68987aee249af626796591e5274cd3f878998e42
1 ; RUN: opt < %s -ipsccp -S | not grep global
3 @G = internal global i66 undef
7 define void @foo() {
8         %X = load i66* @G
9         store i66 %X, i66* @G
10         ret void
13 define i66 @bar() {
14         %V = load i66* @G
15         %C = icmp eq i66 %V, 17
16         br i1 %C, label %T, label %F
18         store i66 17, i66* @G
19         ret i66 %V
21         store i66 123, i66* @G
22         ret i66 0