================
@@ -230,9 +230,26 @@ 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;
+
+  // A WebAssembly funcref call is expressed in IR as a call through the 
pointer
----------------
hoodmane wrote:

I wonder if that code even works anymore. I'd guess that the 
PointerAddressSpace is 0 now.

https://github.com/llvm/llvm-project/pull/203165
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to