[LLVMdev] Vector cast

Duncan Sands baldrick at free.fr
Sun Jun 22 00:34:27 PDT 2008


> I seem to be unable to cast a vector of integers to a vector of floats
> (uitofp [4 x i8] to [4 x float], to be exact). It hits an assert in
> LegalizeDAG.cpp line 5433: "Unknown int value type". The Assembly Language
> Reference Manual's definition of uitofp doesn't indicate that this is
> unsupported, so it looks like a bug to me. I'm on an x86 system by the way.

the problem doesn't seem to be the cast, but the uitofp i8 to float.  I think
you'd see the same problem if you didn't use vectors here.  Want to open a bug



More information about the llvm-dev mailing list