mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
863ed2677b
of the defs are processed. Also fix a implicit_def propagation bug: a implicit_def of a physical register should be applied to uses of the sub-registers. llvm-svn: 82616
24 lines
778 B
LLVM
24 lines
778 B
LLVM
; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi -mattr=+neon
|
|
|
|
; PR5024
|
|
|
|
%bar = type { %foo, %foo }
|
|
%foo = type { <4 x float> }
|
|
|
|
declare arm_aapcs_vfpcc float @aaa(%foo* nocapture) nounwind readonly
|
|
|
|
declare arm_aapcs_vfpcc %bar* @bbb(%bar*, <4 x float>, <4 x float>) nounwind
|
|
|
|
define arm_aapcs_vfpcc void @ccc(i8* nocapture %pBuffer, i32 %numItems) nounwind {
|
|
entry:
|
|
br i1 undef, label %return, label %bb.nph
|
|
|
|
bb.nph: ; preds = %entry
|
|
%0 = call arm_aapcs_vfpcc %bar* @bbb(%bar* undef, <4 x float> undef, <4 x float> undef) nounwind ; <%bar*> [#uses=0]
|
|
%1 = call arm_aapcs_vfpcc float @aaa(%foo* undef) nounwind ; <float> [#uses=0]
|
|
unreachable
|
|
|
|
return: ; preds = %entry
|
|
ret void
|
|
}
|