summaryrefslogtreecommitdiff
path: root/llvm/test/Transforms/InstCombine/pr34627.ll
blob: 58737bdd2832813407170f896c064e4f771e19c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
; 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
}