================
@@ -496,10 +498,15 @@ void WebAssemblyPassConfig::addIRPasses() {
   // to match.
   addPass(createWebAssemblyFixFunctionBitcasts());
 
+  auto optlevel = this->getOptLevel();
+
   // Optimize "returned" function attributes.
-  if (getOptLevel() != CodeGenOptLevel::None)
+  if (optlevel != CodeGenOptLevel::None)
----------------
sbc100 wrote:

Revert this ?

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

Reply via email to