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