mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-25 16:31:33 +00:00
737ec5130e
Bye, Bye Booly. Remove the use of the bool type from non-upgraded test cases and from grep expressions. The parser doesn't accept it and the asm writer doesn't produce it any more. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33183 91177308-0d34-0410-b5e6-96231b3b80d8
22 lines
636 B
LLVM
22 lines
636 B
LLVM
; RUN: llvm-as < %s | llc -march=arm
|
|
|
|
define csretcc void %__divsc3({ float, float }* %agg.result, float %a, float %b, float %c, float %d) {
|
|
entry:
|
|
br i1 false, label %bb, label %cond_next375
|
|
|
|
bb: ; preds = %entry
|
|
%tmp81 = tail call float %copysignf( float 0x7FF0000000000000, float %c ) ; <float> [#uses=1]
|
|
%tmp87 = mul float %tmp81, %b ; <float> [#uses=1]
|
|
br label %cond_next375
|
|
|
|
cond_next375: ; preds = %bb, %entry
|
|
%y.1 = phi float [ %tmp87, %bb ], [ 0.000000e+00, %entry ] ; <float> [#uses=0]
|
|
ret void
|
|
}
|
|
|
|
declare float %fabsf(float)
|
|
|
|
declare i1 %llvm.isunordered.f32(float, float)
|
|
|
|
declare float %copysignf(float, float)
|