diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-07-16 00:19:57 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-07-16 00:19:57 +0000 |
| commit | e3e847bfd7bde44a81632c5af297f1817d22abbd (patch) | |
| tree | 6c20603f9c3158bf0f6785781d7d13f88addf0f8 /llvm/lib/Analysis/DataStructure/DataStructure.cpp | |
| parent | b47f5e6d54e1dc35c95196112aeee6114036b6dd (diff) | |
| download | bcm5719-llvm-e3e847bfd7bde44a81632c5af297f1817d22abbd.tar.gz bcm5719-llvm-e3e847bfd7bde44a81632c5af297f1817d22abbd.zip | |
Break the code for expanding UINT_TO_FP operations out into its own
SelectionDAGLegalize::ExpandLegalUINT_TO_FP method.
Add a new method, PromoteLegalUINT_TO_FP, which allows targets to request
that UINT_TO_FP operations be promoted to a larger input type. This is
useful for targets that have some UINT_TO_FP or SINT_TO_FP operations but
not all of them (like X86).
The same should be done with SINT_TO_FP, but this patch does not do that
yet.
llvm-svn: 22447
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/DataStructure.cpp')
0 files changed, 0 insertions, 0 deletions

