Mercurial > hg > CbC > CbC_llvm
view test/Bitcode/2006-12-11-Cast-ConstExpr.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
; This test ensures that we get a bitcast constant expression in and out, ; not a sitofp constant expression. ; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; CHECK: bitcast ( @G = external global i32 define float @tryit(i32 %A) { ret float bitcast( i32 ptrtoint (i32* @G to i32) to float) }