~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/Thumb/select.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 -march=thumb | grep beq | count 1
 
2
; RUN: llc < %s -march=thumb | grep bgt | count 1
 
3
; RUN: llc < %s -march=thumb | grep blt | count 3
 
4
; RUN: llc < %s -march=thumb | grep ble | count 1
 
5
; RUN: llc < %s -march=thumb | grep bls | count 1
 
6
; RUN: llc < %s -march=thumb | grep bhi | count 1
 
7
; RUN: llc < %s -march=thumb | grep __ltdf2
 
8
 
 
9
define i32 @f1(i32 %a.s) {
 
10
entry:
 
11
    %tmp = icmp eq i32 %a.s, 4
 
12
    %tmp1.s = select i1 %tmp, i32 2, i32 3
 
13
    ret i32 %tmp1.s
 
14
}
 
15
 
 
16
define i32 @f2(i32 %a.s) {
 
17
entry:
 
18
    %tmp = icmp sgt i32 %a.s, 4
 
19
    %tmp1.s = select i1 %tmp, i32 2, i32 3
 
20
    ret i32 %tmp1.s
 
21
}
 
22
 
 
23
define i32 @f3(i32 %a.s, i32 %b.s) {
 
24
entry:
 
25
    %tmp = icmp slt i32 %a.s, %b.s
 
26
    %tmp1.s = select i1 %tmp, i32 2, i32 3
 
27
    ret i32 %tmp1.s
 
28
}
 
29
 
 
30
define i32 @f4(i32 %a.s, i32 %b.s) {
 
31
entry:
 
32
    %tmp = icmp sle i32 %a.s, %b.s
 
33
    %tmp1.s = select i1 %tmp, i32 2, i32 3
 
34
    ret i32 %tmp1.s
 
35
}
 
36
 
 
37
define i32 @f5(i32 %a.u, i32 %b.u) {
 
38
entry:
 
39
    %tmp = icmp ule i32 %a.u, %b.u
 
40
    %tmp1.s = select i1 %tmp, i32 2, i32 3
 
41
    ret i32 %tmp1.s
 
42
}
 
43
 
 
44
define i32 @f6(i32 %a.u, i32 %b.u) {
 
45
entry:
 
46
    %tmp = icmp ugt i32 %a.u, %b.u
 
47
    %tmp1.s = select i1 %tmp, i32 2, i32 3
 
48
    ret i32 %tmp1.s
 
49
}
 
50
 
 
51
define double @f7(double %a, double %b) {
 
52
    %tmp = fcmp olt double %a, 1.234e+00
 
53
    %tmp1 = select i1 %tmp, double -1.000e+00, double %b
 
54
    ret double %tmp1
 
55
}