[llvm-commits] [llvm] [PATCH] fpround libcall

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Mon Jul 7 17:08:36 PDT 2008


Hi,

This patch address the problem I have with fpround on Mips as
discussed at llvmdev. I think this should have been implemented in
SoftenFloatOps
like suggested by Duncan. The problem is that this methods are only called by
"DAG.LegalizeTypes()", which is currently commented in
SelectionDAGISel::CodeGenAndEmitDAG. I'll implement there too and see what
happens, but what do you think about this for now?
Btw, the only target that does setConvertAction from f64 -> f32 to
Expand is X86, but
in the same code block it declares a f64 Register Class, so i think
the patch won't
break x86 behavior.

Thanks,

-- 
Bruno Cardoso Lopes
http://www.brunocardoso.cc
"When faced with untenable alternatives, you
 should consider your imperative."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LegalizeDAG.cpp.patch
Type: application/octet-stream
Size: 692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080707/e6ecc8b5/attachment.obj>


More information about the llvm-commits mailing list