brintos

brintos / llvm-project-archived public Read only

0
0
Text · 329 B · 35bf7ab Raw
12 lines · plain
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 %s4; RUN: verify-uselistorder < %s5; CHECK: bitcast (6 7@G = external global i328 9define float @tryit(i32 %A) {10   ret float bitcast( i32 ptrtoint (i32* @G to i32) to float)11}12