summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/2011-02-16-InsertelementHang.ll
blob: 2f6034e158a3e7f79199ee93761e17a8b2aa9553 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: opt < %s -instcombine -S | FileCheck %s
; PR9218

%vec2x2 = type { <2 x double>, <2 x double> }

define %vec2x2 @split(double) nounwind alwaysinline {
; CHECK: @split
; CHECK: ret %vec2x2 undef
  %vba = insertelement <2 x double> undef, double %0, i32 2
  ret <2 x double> %vba, <2 x double> %vba
}