; The cast in this testcase is not eliminable on a 32-bit target!; RUN: opt < %s -instcombine -S | grep inttoptrtargetdatalayout="e-p:32:32"declarevoid@foo(...)definevoid@test(i64%X){%Y=inttoptri64%Xtoi32*; <i32*> [#uses=1]callvoid(...)*@foo(i32*%Y)retvoid}