Mercurial > hg > CbC > CbC_llvm
view test/CodeGen/X86/pr16360.ll @ 95:afa8332a0e37 LLVM3.8
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | 95c75e76d11b |
children | 1172e4bd9c6f |
line wrap: on
line source
; RUN: llc < %s -mcpu=pentium4 -mtriple=i686-pc-linux | FileCheck %s define i64 @foo(i32 %sum) { entry: %conv = sext i32 %sum to i64 %shr = lshr i64 %conv, 2 %or = or i64 4611686018360279040, %shr ret i64 %or } ; CHECK: foo ; CHECK: shrl $2 ; CHECK: orl $-67108864 ; CHECK-NOT: movl $-1 ; CHECK: movl $1073741823 ; CHECK: ret