[llvm] [WebAssembly] Disable multivalue emission temporarily (PR #82714)

via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 22 16:27:44 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff bfe302c58321abd79a5db7e805ef4b4db24df820 be906f35f3aa6ddfb9d1c823aa23545a967bdcd8 -- llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
index 8814d0570d..3120b6b679 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
@@ -58,10 +58,10 @@ static cl::opt<bool> WasmDisableFixIrreducibleControlFlowPass(
 // implementation is stable enough. We currently don't emit multivalue by
 // default even if the feature section allows it.
 // TODO Stabilize multivalue and delete this option
-cl::opt<bool> WasmEmitMultiValue(
-    "wasm-emit-multivalue", cl::Hidden,
-    cl::desc("WebAssembly: Emit multivalue in the backend"),
-    cl::init(false));
+cl::opt<bool>
+    WasmEmitMultiValue("wasm-emit-multivalue", cl::Hidden,
+                       cl::desc("WebAssembly: Emit multivalue in the backend"),
+                       cl::init(false));
 
 extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeWebAssemblyTarget() {
   // Register the target.

``````````

</details>


https://github.com/llvm/llvm-project/pull/82714


More information about the llvm-commits mailing list