[llvm-commits] Patch for pr11798: Emit _fltused during FastISel

Joe Groff arcata at gmail.com
Tue Feb 21 17:50:34 PST 2012


Here is a revised patch. I moved the logic into a toplevel function in
FunctionLoweringInfo, and shortened the property name to
'usesVAFloatArgument'. I added a test for fltused with indirect calls
that passes, so I believe the type logic is correct—the type of the
callee should be a pointer-to-FunctionType whether direct or indirect.
After discussing the issue with Bigcheese on IRC, we determined that
checking only for top-level floating point types should be sufficient.
Any other issues?

-Joe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr11798-4.diff
Type: application/octet-stream
Size: 9276 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120221/04f7a4b0/attachment.obj>


More information about the llvm-commits mailing list