Use a worklist to avoid a sneaky iterator invalidation.
[oota-llvm.git] / test / Transforms / GlobalOpt / integer-bool.ll
index 7a91a767a17faf9c2cc3337f0a9bad0a5611f2ca..51858069ac5b73b9543473d97007f1e1091e7830 100644 (file)
@@ -2,9 +2,9 @@
 ;; check that global opt turns integers that only hold 0 or 1 into bools.
 
 @G = internal addrspace(1) global i32 0
-; CHECK: @G.b
+; CHECK: @G
 ; CHECK: addrspace(1)
-; CHECK: global i1 0
+; CHECK: global i1 false
 
 define void @set1() {
   store i32 0, i32 addrspace(1)* @G