~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/CodeGen/X86/2009-01-31-BigShift2.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc < %s -march=x86 | grep "mov.*56"
 
2
; PR3449
 
3
 
 
4
define void @test(<8 x double>* %P, i64* %Q) nounwind {
 
5
        %A = load <8 x double>, <8 x double>* %P                ; <<8 x double>> [#uses=1]
 
6
        %B = bitcast <8 x double> %A to i512            ; <i512> [#uses=1]
 
7
        %C = lshr i512 %B, 448          ; <i512> [#uses=1]
 
8
        %D = trunc i512 %C to i64               ; <i64> [#uses=1]
 
9
        store volatile i64 %D, i64* %Q
 
10
        ret void
 
11
}