Mercurial > hg > CbC > CbC_llvm
view test/Assembler/2004-03-07-FunctionAddressAlignment.ll @ 108:1881386f7909
use llvm.setjmp and llvm.longjmp
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 01 Feb 2016 02:57:01 +0900 (2016-01-31) |
parents | 54457678186b |
children |
line wrap: on
line source
; RUN: llvm-as < %s | llvm-dis | not grep ptrtoint ; RUN: verify-uselistorder %s ; 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) }