Mercurial > hg > CbC > CbC_llvm
view test/Assembler/2004-03-07-FunctionAddressAlignment.ll @ 52:c22698ecb2a9
modified CreateIdentifierInfo and create new function which was named 'CreateUniqueIdentifierInfo'.
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 15 Jan 2014 21:01:33 +0900 |
parents | 95c75e76d11b |
children | 54457678186b |
line wrap: on
line source
; RUN: llvm-as < %s | llvm-dis | not grep ptrtoint ; All of these should be eliminable define i32 @foo() { ret i32 and (i32 ptrtoint (i32()* @foo to i32), i32 1) } define i32 @foo2() { ret i32 and (i32 1, i32 ptrtoint (i32()* @foo2 to i32)) } define i1 @foo3() { ret i1 icmp ne (i1()* @foo3, i1()* null) }