llvm/llvm/test/Transforms/InstCombine/pr34627.ll

; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -S -passes=instcombine %s |FileCheck %s

define <2 x i16> @patatino() {
; CHECK-LABEL: @patatino(
; CHECK-NEXT:    ret <2 x i16> zeroinitializer
;
  %tmp2 = getelementptr inbounds [1 x i16], ptr null, i16 0, <2 x i16> undef
  %tmp3 = ptrtoint <2 x ptr> %tmp2 to <2 x i16>
  ret <2 x i16> %tmp3
}