~louis/ubuntu/trusty/clamav/lp799623_fix_logrotate

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/X86/h-registers-1.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=x86-64 > %t
 
2
; RUN: grep {movzbl     %\[abcd\]h,} %t | count 8
 
3
; RUN: grep {%\[abcd\]h} %t | not grep {%r\[\[:digit:\]\]*d}
 
4
 
 
5
; LLVM creates virtual registers for values live across blocks
 
6
; based on the type of the value. Make sure that the extracts
 
7
; here use the GR64_NOREX register class for their result,
 
8
; instead of plain GR64.
 
9
 
 
10
define i64 @foo(i64 %a, i64 %b, i64 %c, i64 %d,
 
11
                i64 %e, i64 %f, i64 %g, i64 %h) {
 
12
  %sa = lshr i64 %a, 8
 
13
  %A = and i64 %sa, 255
 
14
  %sb = lshr i64 %b, 8
 
15
  %B = and i64 %sb, 255
 
16
  %sc = lshr i64 %c, 8
 
17
  %C = and i64 %sc, 255
 
18
  %sd = lshr i64 %d, 8
 
19
  %D = and i64 %sd, 255
 
20
  %se = lshr i64 %e, 8
 
21
  %E = and i64 %se, 255
 
22
  %sf = lshr i64 %f, 8
 
23
  %F = and i64 %sf, 255
 
24
  %sg = lshr i64 %g, 8
 
25
  %G = and i64 %sg, 255
 
26
  %sh = lshr i64 %h, 8
 
27
  %H = and i64 %sh, 255
 
28
  br label %next
 
29
 
 
30
next:
 
31
  %u = add i64 %A, %B
 
32
  %v = add i64 %C, %D
 
33
  %w = add i64 %E, %F
 
34
  %x = add i64 %G, %H
 
35
  %y = add i64 %u, %v
 
36
  %z = add i64 %w, %x
 
37
  %t = add i64 %y, %z
 
38
  ret i64 %t
 
39
}