~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/X86/2009-03-12-CPAlignBug.ll

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-03-12 11:30:04 UTC
  • mfrom: (0.41.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100312113004-b0fop4bkycszdd0z
Tags: 0.96~rc1+dfsg-0ubuntu1
* New upstream RC - FFE (LP: #537636):
  - Add OfficialDatabaseOnly option to clamav-base.postinst.in
  - Add LocalSocketGroup option to clamav-base.postinst.in
  - Add LocalSocketMode option to clamav-base.postinst.in
  - Add CrossFilesystems option to clamav-base.postinst.in
  - Add ClamukoScannerCount option to clamav-base.postinst.in
  - Add BytecodeSecurity opiton to clamav-base.postinst.in
  - Add DetectionStatsHostID option to clamav-freshclam.postinst.in
  - Add Bytecode option to clamav-freshclam.postinst.in
  - Add MilterSocketGroup option to clamav-milter.postinst.in
  - Add MilterSocketMode option to clamav-milter.postinst.in
  - Add ReportHostname option to clamav-milter.postinst.in
  - Bump libclamav SO version to 6.1.0 in libclamav6.install
  - Drop clamdmon from clamav.examples (no longer shipped by upstream)
  - Drop libclamav.a from libclamav-dev.install (not built by upstream)
  - Update SO version for lintian override for libclamav6
  - Add new Bytecode Testing Tool, usr/bin/clambc, to clamav.install
  - Add build-depends on python and python-setuptools for new test suite
  - Update debian/copyright for the embedded copy of llvm (using the system
    llvm is not currently feasible)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc < %s -mtriple=i386-apple-darwin -mattr=+sse2 | not grep {.space}
 
2
; rdar://6668548
 
3
 
 
4
declare double @llvm.sqrt.f64(double) nounwind readonly
 
5
 
 
6
declare double @fabs(double)
 
7
 
 
8
declare double @llvm.pow.f64(double, double) nounwind readonly
 
9
 
 
10
define void @SolveCubic_bb1(i32* %solutions, double* %x, x86_fp80 %.reload, x86_fp80 %.reload5, x86_fp80 %.reload6, double %.reload8) nounwind {
 
11
newFuncRoot:
 
12
        br label %bb1
 
13
 
 
14
bb1.ret.exitStub:               ; preds = %bb1
 
15
        ret void
 
16
 
 
17
bb1:            ; preds = %newFuncRoot
 
18
        store i32 1, i32* %solutions, align 4
 
19
        %0 = tail call double @llvm.sqrt.f64(double %.reload8)          ; <double> [#uses=1]
 
20
        %1 = fptrunc x86_fp80 %.reload6 to double               ; <double> [#uses=1]
 
21
        %2 = tail call double @fabs(double %1) nounwind readnone                ; <double> [#uses=1]
 
22
        %3 = fadd double %0, %2         ; <double> [#uses=1]
 
23
        %4 = tail call double @llvm.pow.f64(double %3, double 0x3FD5555555555555)               ; <double> [#uses=1]
 
24
        %5 = fpext double %4 to x86_fp80                ; <x86_fp80> [#uses=2]
 
25
        %6 = fdiv x86_fp80 %.reload5, %5                ; <x86_fp80> [#uses=1]
 
26
        %7 = fadd x86_fp80 %5, %6               ; <x86_fp80> [#uses=1]
 
27
        %8 = fptrunc x86_fp80 %7 to double              ; <double> [#uses=1]
 
28
        %9 = fcmp olt x86_fp80 %.reload6, 0xK00000000000000000000               ; <i1> [#uses=1]
 
29
        %iftmp.6.0 = select i1 %9, double 1.000000e+00, double -1.000000e+00            ; <double> [#uses=1]
 
30
        %10 = fmul double %8, %iftmp.6.0                ; <double> [#uses=1]
 
31
        %11 = fpext double %10 to x86_fp80              ; <x86_fp80> [#uses=1]
 
32
        %12 = fdiv x86_fp80 %.reload, 0xKC000C000000000000000           ; <x86_fp80> [#uses=1]
 
33
        %13 = fadd x86_fp80 %11, %12            ; <x86_fp80> [#uses=1]
 
34
        %14 = fptrunc x86_fp80 %13 to double            ; <double> [#uses=1]
 
35
        store double %14, double* %x, align 1
 
36
        br label %bb1.ret.exitStub
 
37
}