[llvm-commits] Patch: avoid legalization assert
Duncan Sands
baldrick at free.fr
Fri Jan 30 07:11:35 PST 2009
Hi Mon Ping, if I understand right the problem is that v2i64 is legal,
but i64 is not, and that when we try to scalarize this
0x2b1d9c8: v2i64 = sdiv 0x2b1ddc8, 0x2b1dfc8
into a pair of libcalls, we end up with expressions in terms of the
elements (i.e. of i64 type) but those types aren't legal. The
point of running llc with -disable-mmx is that there is then no
sdiv vector instruction I suppose. Hmmm, tricky :)
Ciao,
Duncan.
More information about the llvm-commits
mailing list