~ubuntu-branches/ubuntu/quantal/llvm-3.1/quantal

« back to all changes in this revision

Viewing changes to test/CodeGen/X86/2009-04-13-2AddrAssert-2.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-03-29 19:09:51 UTC
  • Revision ID: package-import@ubuntu.com-20120329190951-aq83ivog4cg8bxun
Tags: upstream-3.1~svn153643
ImportĀ upstreamĀ versionĀ 3.1~svn153643

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc < %s -mtriple=i386-apple-darwin
 
2
; rdar://6781755
 
3
; PR3934
 
4
 
 
5
        %0 = type { i32, i32 }          ; type %0
 
6
 
 
7
define void @bn_sqr_comba8(i32* nocapture %r, i32* %a) nounwind {
 
8
entry:
 
9
        %asmtmp23 = tail call %0 asm "mulq $3", "={ax},={dx},{ax},*m,~{dirflag},~{fpsr},~{flags},~{cc}"(i32 0, i32* %a) nounwind                ; <%0> [#uses=1]
 
10
        %asmresult25 = extractvalue %0 %asmtmp23, 1             ; <i32> [#uses=1]
 
11
        %asmtmp26 = tail call %0 asm "addq $0,$0; adcq $2,$1", "={dx},=r,imr,0,1,~{dirflag},~{fpsr},~{flags},~{cc}"(i32 0, i32 %asmresult25, i32 0) nounwind            ; <%0> [#uses=1]
 
12
        %asmresult27 = extractvalue %0 %asmtmp26, 0             ; <i32> [#uses=1]
 
13
        %asmtmp29 = tail call %0 asm "addq $0,$0; adcq $2,$1", "={ax},={dx},imr,0,1,~{dirflag},~{fpsr},~{flags},~{cc}"(i32 0, i32 0, i32 %asmresult27) nounwind         ; <%0> [#uses=0]
 
14
        ret void
 
15
}