Changes in directory llvm/test/Regression/CodeGen/ARM:
fcopysign.ll added (r1.1) --- Log message: Add test for FCOPYSIGN. --- Diffs of the changes: (+21 -0) fcopysign.ll | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+) Index: llvm/test/Regression/CodeGen/ARM/fcopysign.ll diff -c /dev/null llvm/test/Regression/CodeGen/ARM/fcopysign.ll:1.1 *** /dev/null Thu Jan 4 08:24:42 2007 --- llvm/test/Regression/CodeGen/ARM/fcopysign.ll Thu Jan 4 08:24:32 2007 *************** *** 0 **** --- 1,21 ---- + ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm + + define csretcc void %__divsc3({ float, float }* %agg.result, float %a, float %b, float %c, float %d) { + entry: + br bool 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 bool %llvm.isunordered.f32(float, float) + + declare float %copysignf(float, float) _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits