forked from OSchip/llvm-project
12 lines
382 B
LLVM
12 lines
382 B
LLVM
; 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
|
|
}
|