search for: ctg21

Displaying 1 result from an estimated 1 matches for "ctg21".

Did you mean: ctg01
2008 Jan 22
0
[LLVMdev] [llvm-commits] a question about type conversion propagation and elimination
...8* %ptr, i32 1 ; <i8*> [#uses=1] br label %B2 B2: ; preds = %B1, %Entry %eax.0.in = phi i8* [ %ctg2, %B1 ], [ %ptr, %Entry ] ; <i8*> [#uses=4] icmp ult i8* %eax.0.in, %end ; <i1>:1 [#uses=1] br i1 %1, label %B3, label %exit B3: ; preds = %B2 store i8 1, i8* %eax.0.in %ctg21 = getelementptr i8* %eax.0.in, i32 1 ; <i8*> [#uses=1] br label %exit exit: ; preds = %B3, %B2 %eax.1.in = phi i8* [ %ctg21, %B3 ], [ %eax.0.in, %B2 ] ; <i8*> [#uses=1] ret i8* %eax.1.in } Note that it eliminated all the ptrtoint casts (in this case) and infered some getelem...