JuliaLang/julia — Issue #276: bitcast bug
Author: vtjnash
Created: 2011-12-03 19:56:26+00:00
State: open

Found this oddity while playing with uint8() behavior (occurs with both LLVM and GCC compilers):

julia> function x()
y=trunc8(1000)
boxui8(y)
end

julia> x()
LLVM ERROR: Cannot select: 0x7fce1c377310: i8 = bitcast 0x7fce1c499b10 [ORD=44906] [ID=16] dbg:prompt:3:1
0x7fce1c499b10: i64,ch = CopyFromReg 0x7fce19530cf8, 0x7fce1c496310 [ORD=44906] [ID=11] dbg:prompt:3:1
0x7fce1c496310: i64 = Register %vreg0 [ORD=44906] [ID=1]