================
@@ -34,6 +34,15 @@
WebAssemblySubtarget::initializeSubtargetDependencies(StringRef CPU,
CPU = "generic";
ParseSubtargetFeatures(CPU, /*TuneCPU*/ CPU, FS);
+
+ // reference-types implies call-indirect-overlong
+ if (HasReferenceTypes)
+ HasCallIndirectOverlong = true;
+
+ // bulk-memory implies bulk-memory-opt
+ if (HasBulkMemory)
+ HasBulkMemoryOpt = true;
----------------
sunfishcode wrote:
Nit: the replacement here has trailing whitespace
https://github.com/llvm/llvm-project/pull/117087
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits