mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 00:12:50 +01:00
35ed1e5d6c
the instruction passed in. Make sure to account for this correctly, instead of looping infinitely. llvm-svn: 126058
12 lines
306 B
LLVM
12 lines
306 B
LLVM
; 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
|
|
}
|