1 ; RUN: opt < %s -instcombine -S | not grep sext
4 define zeroext i16 @t(i8 zeroext %on_off, i16* nocapture %puls) nounwind readonly {
6 %0 = zext i8 %on_off to i32
8 %2 = sext i32 %1 to i64
9 %3 = getelementptr i16* %puls, i64 %2
10 %4 = load i16* %3, align 2