Mercurial > hg > CbC > CbC_llvm
view test/CodeGen/PowerPC/crash.ll @ 77:54457678186b LLVM3.6
LLVM 3.6
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Sep 2014 22:06:00 +0900 |
parents | |
children | 1172e4bd9c6f |
line wrap: on
line source
; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 define void @test1(i1 %x, i8 %x2, i8* %x3, i64 %x4) { entry: %tmp3 = and i64 %x4, 16 %bf.shl = trunc i64 %tmp3 to i8 %bf.clear = and i8 %x2, -17 %bf.set = or i8 %bf.shl, %bf.clear br i1 %x, label %if.then, label %if.end if.then: ret void if.end: store i8 %bf.set, i8* %x3, align 4 ret void }