comparison test/CodeGen/X86/pr16360.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 1172e4bd9c6f
comparison
equal deleted inserted replaced
-1:000000000000 0:95c75e76d11b
1 ; RUN: llc < %s -mcpu=pentium4 -mtriple=i686-pc-linux | FileCheck %s
2
3 define i64 @foo(i32 %sum) {
4 entry:
5 %conv = sext i32 %sum to i64
6 %shr = lshr i64 %conv, 2
7 %or = or i64 4611686018360279040, %shr
8 ret i64 %or
9 }
10
11 ; CHECK: foo
12 ; CHECK: shrl $2
13 ; CHECK: orl $-67108864
14 ; CHECK-NOT: movl $-1
15 ; CHECK: movl $1073741823
16 ; CHECK: ret