================
@@ -230,9 +230,23 @@ static bool dontUseFastISelFor(const Function &Fn) {
// Debug info on those is reliant on good Argument lowering, and FastISel is
// not capable of lowering the entire function. Mixing the two selectors tend
// to result in poor lowering of Arguments.
- return any_of(Fn.args(), [](const Argument &Arg) {
- return Arg.hasAttribute(Attribute::AttrKind::SwiftAsync);
- });
+ if (any_of(Fn.args(), [](const Argument &Arg) {
+ return Arg.hasAttribute(Attribute::AttrKind::SwiftAsync);
+ }))
+ return true;
+
+ // Fall back to SelectionDAG for the whole function when the
----------------
hoodmane wrote:
Done in 34252da.
https://github.com/llvm/llvm-project/pull/203165
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits