blob: 8935ecf755cf36f1ffd7b0006ef75c29a935f917 [file] [log] [blame]
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -S -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], [1 x i16]* null, i16 0, <2 x i16> undef
%tmp3 = ptrtoint <2 x i16*> %tmp2 to <2 x i16>
ret <2 x i16> %tmp3
}