• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-as < %s | llvm-dis | not grep bitcast
2
3define i32 @test1() {
4   ret i32 bitcast(float 0x400D9999A0000000 to i32)
5}
6
7define float @test2() {
8  ret float bitcast(i32 17 to float)
9}
10
11define i64 @test3() {
12  ret i64 bitcast (double 0x400921FB4D12D84A to i64)
13}
14
15define double @test4() {
16  ret double bitcast (i64 42 to double)
17}
18
19