~ubuntu-branches/ubuntu/maverick/clamav/maverick-backports

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/X86/store_op_load_fold2.ll

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Gran, Stephen Gran, Michael Tautschnig
  • Date: 2010-04-26 21:41:18 UTC
  • mfrom: (2.1.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100426214118-i6lo606wnh7ywfj6
Tags: 0.96+dfsg-4
[ Stephen Gran ]
* Fixed typo in clamav-milter's postinst

[ Michael Tautschnig ]
* Fixed typo in clamav-freshclam's postinst (closes: #579271)
* Debconf translation updates
  - Portuguese (closes: #579068)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc < %s -march=x86 -x86-asm-syntax=intel | FileCheck %s
 
2
 
 
3
target datalayout = "e-p:32:32"
 
4
        %struct.Macroblock = type { i32, i32, i32, i32, i32, [8 x i32], %struct.Macroblock*, %struct.Macroblock*, i32, [2 x [4 x [4 x [2 x i32]]]], [16 x i8], [16 x i8], i32, i64, [4 x i32], [4 x i32], i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i16, double, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
 
5
 
 
6
define internal fastcc i32 @dct_chroma(i32 %uv, i32 %cr_cbp) nounwind {
 
7
cond_true2732.preheader:                ; preds = %entry
 
8
        %tmp2666 = getelementptr %struct.Macroblock* null, i32 0, i32 13                ; <i64*> [#uses=2]
 
9
        %tmp2674 = trunc i32 0 to i8            ; <i8> [#uses=1]
 
10
        %tmp2667.us.us = load i64* %tmp2666             ; <i64> [#uses=1]
 
11
        %tmp2670.us.us = load i64* null         ; <i64> [#uses=1]
 
12
        %shift.upgrd.1 = zext i8 %tmp2674 to i64                ; <i64> [#uses=1]
 
13
        %tmp2675.us.us = shl i64 %tmp2670.us.us, %shift.upgrd.1         ; <i64> [#uses=1]
 
14
        %tmp2675not.us.us = xor i64 %tmp2675.us.us, -1          ; <i64> [#uses=1]
 
15
        %tmp2676.us.us = and i64 %tmp2667.us.us, %tmp2675not.us.us              ; <i64> [#uses=1]
 
16
        store i64 %tmp2676.us.us, i64* %tmp2666
 
17
        ret i32 0
 
18
 
 
19
; CHECK:        and     {{E..}}, DWORD PTR [360]
 
20
; CHECK:        and     DWORD PTR [356], {{E..}}
 
21
; CHECK:        mov     DWORD PTR [360], {{E..}}
 
22
 
 
23
}
 
24