1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt < %s -ipsccp -S | FileCheck %s
4 @G = internal global i66 undef
9 ; CHECK-NEXT: [[X:%.*]] = load i66, i66* @G
10 ; CHECK-NEXT: store i66 [[X]], i66* @G
11 ; CHECK-NEXT: ret void
13 %X = load i66, i66* @G
20 ; CHECK-NEXT: [[V:%.*]] = load i66, i66* @G
21 ; CHECK-NEXT: [[C:%.*]] = icmp eq i66 [[V]], 17
22 ; CHECK-NEXT: br i1 [[C]], label [[T:%.*]], label [[F:%.*]]
24 ; CHECK-NEXT: store i66 17, i66* @G
25 ; CHECK-NEXT: ret i66 17
27 ; CHECK-NEXT: store i66 123, i66* @G
28 ; CHECK-NEXT: ret i66 0
30 %V = load i66, i66* @G
31 %C = icmp eq i66 %V, 17
32 br i1 %C, label %T, label %F
37 store i66 123, i66* @G