[PATCH] Value soft float calls as more expensive in the inliner.
echristo at gmail.com
Tue Feb 3 14:49:31 PST 2015
Can probably expand the testcase a bit more with CHECK/CHECK-NOT for the various calls? One inline comment.
Comment at: lib/Analysis/IPA/InlineCost.cpp:911
@@ +910,3 @@
+ // If the instruction is floating point, and the target says this operation is
+ // expensive or the function has the "use-soft-float" attribute, this will
+ // eventually become a library call. Treat the cost as such.
More information about the llvm-commits