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 ; RUN: verify-uselistorder < %s
      5 ; CHECK: bitcast (
      6 
      7 @G = external global i32
      8 
      9 define float @tryit(i32 %A) {
     10    ret float bitcast( i32 ptrtoint (i32* @G to i32) to float)
     11 }
     12