Revert "[InstCombine] Support gep nuw in icmp folds" (#118698)
[llvm-project.git] / llvm / test / Transforms / InstCombine / 2008-10-23-ConstFoldWithoutMask.ll
bloba01da8267f144e279017aad3317b3c1cb82a49d4
1 ; RUN: opt < %s -passes=instcombine
2 ; PR2940
4 define i32 @tstid() {
5         %var0 = inttoptr i32 1 to ptr           ; <ptr> [#uses=1]
6         %var2 = ptrtoint ptr %var0 to i32               ; <i32> [#uses=1]
7         ret i32 %var2