~ubuntu-branches/ubuntu/natty/clamav/natty-proposed

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/X86/zext-inreg-1.ll

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-02 21:04:10 UTC
  • mfrom: (0.35.17 sid)
  • Revision ID: james.westby@ubuntu.com-20101202210410-ppgyckmylngsfa8o
Tags: 0.96.5+dfsg-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop initial signature definitions from clamav-base
  - Drop build-dep on electric-fence (in Universe)
  - Add apparmor profiles for clamd and freshclam along with maintainer
    script changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
; RUN: llc < %s -march=x86 | not grep and
2
 
 
3
 
; These tests differ from the ones in zext-inreg-0.ll in that
4
 
; on x86-64 they do require and instructions.
5
 
 
6
 
; These should use movzbl instead of 'and 255'.
7
 
; This related to not having ZERO_EXTEND_REG node.
8
 
 
9
 
define i64 @l(i64 %d) nounwind  {
10
 
        %e = add i64 %d, 1
11
 
        %retval = and i64 %e, 1099511627775
12
 
        ret i64 %retval
13
 
}
14
 
define i64 @m(i64 %d) nounwind  {
15
 
        %e = add i64 %d, 1
16
 
        %retval = and i64 %e, 281474976710655
17
 
        ret i64 %retval
18
 
}