1 ; This testcase fails because ADCE does not correctly delete the chain of
2 ; three instructions that are dead here. Ironically there were a dead basic
3 ; block in this function, it would work fine, but that would be the part we
4 ; have to fix now, wouldn't it....
6 ; RUN: as < %s | opt -adce
8 void %foo(sbyte* %reg5481) {
9 %cast611 = cast sbyte* %reg5481 to sbyte** ; <sbyte**> [#uses=1]
10 %reg162 = load sbyte** %cast611 ; <sbyte*> [#uses=0]
11 cast sbyte*%reg162 to int