comparison test/CodeGen/X86/shift-pair.ll @ 0:95c75e76d11b LLVM3.4

LLVM 3.4
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 13:56:28 +0900
parents
children afa8332a0e37
comparison
equal deleted inserted replaced
-1:000000000000 0:95c75e76d11b
1 ; RUN: llc < %s -march=x86-64 | FileCheck %s
2
3 define i64 @test(i64 %A) {
4 ; CHECK: @test
5 ; CHECK: shrq $54
6 ; CHECK: andq $1020
7 ; CHECK: ret
8 %B = lshr i64 %A, 56
9 %C = shl i64 %B, 2
10 ret i64 %C
11 }