Mercurial > hg > CbC > CbC_llvm
view test/Transforms/InstCombine/apint-cast-and-cast.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 |
line wrap: on
line source
; RUN: opt < %s -instcombine -S | not grep bitcast define i19 @test1(i43 %val) { %t1 = bitcast i43 %val to i43 %t2 = and i43 %t1, 1 %t3 = trunc i43 %t2 to i19 ret i19 %t3 } define i73 @test2(i677 %val) { %t1 = bitcast i677 %val to i677 %t2 = and i677 %t1, 1 %t3 = trunc i677 %t2 to i73 ret i73 %t3 }