view test/Transforms/InstCombine/vec_insertelt.ll @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 95c75e76d11b
children
line wrap: on
line source

; RUN: opt < %s -instcombine -S | FileCheck %s
; CHECK: ret <4 x i32> %A

; PR1286
define <4 x i32> @test1(<4 x i32> %A) {
	%B = insertelement <4 x i32> %A, i32 undef, i32 1
	ret <4 x i32> %B
}