mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
236490d870
D0<def,dead> = ... ... = S0<use, kill> S0<def> = ... ... D0<def> = The first D0 def is correctly marked dead, however, livevariables should have added an implicit def of S0 or we end up with a use without a def. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88690 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
754 B
LLVM
21 lines
754 B
LLVM
; RUN: llc -mtriple=armv7-eabi -mcpu=cortex-a8 < %s
|
|
; PR5410
|
|
|
|
%0 = type { float, float, float, float }
|
|
%pln = type { %vec, float }
|
|
%vec = type { [4 x float] }
|
|
|
|
define arm_aapcs_vfpcc float @aaa(%vec* nocapture %ustart, %vec* nocapture %udir, %vec* nocapture %vstart, %vec* nocapture %vdir, %vec* %upoint, %vec* %vpoint) {
|
|
entry:
|
|
br i1 undef, label %bb81, label %bb48
|
|
|
|
bb48: ; preds = %entry
|
|
%0 = call arm_aapcs_vfpcc %0 @bbb(%pln* undef, %vec* %vstart, %vec* undef) nounwind ; <%0> [#uses=0]
|
|
ret float 0.000000e+00
|
|
|
|
bb81: ; preds = %entry
|
|
ret float 0.000000e+00
|
|
}
|
|
|
|
declare arm_aapcs_vfpcc %0 @bbb(%pln* nocapture, %vec* nocapture, %vec* nocapture) nounwind
|