Home | History | Annotate | Download | only in Bitcode
      1 ; This test ensures that we get a bitcast constant expression in and out,
      2 ; not a sitofp constant expression. 
      3 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
      4 ; CHECK: bitcast (
      5 
      6 @G = external global i32
      7 
      8 define float @tryit(i32 %A) {
      9    ret float bitcast( i32 ptrtoint (i32* @G to i32) to float)
     10 }
     11