2f6034e158a3e7f79199ee93761e17a8b2aa9553
[oota-llvm.git] / test / Transforms / InstCombine / 2011-02-16-InsertelementHang.ll
1 ; RUN: opt < %s -instcombine -S | FileCheck %s
2 ; PR9218
3
4 %vec2x2 = type { <2 x double>, <2 x double> }
5
6 define %vec2x2 @split(double) nounwind alwaysinline {
7 ; CHECK: @split
8 ; CHECK: ret %vec2x2 undef
9   %vba = insertelement <2 x double> undef, double %0, i32 2
10   ret <2 x double> %vba, <2 x double> %vba
11 }