[llvm] [WebAssembly] Simplify a switch-case in CFGStackify (NFC) (PR #107360)

Heejin Ahn via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 5 01:08:31 PDT 2024


================
@@ -147,9 +147,9 @@ let isTerminator = 1, hasSideEffects = 1, isBarrier = 1, hasCtrlDep = 1,
 // usage gets low enough.
 
 // Rethrowing an exception: rethrow
-let isTerminator = 1, hasCtrlDep = 1, isBarrier = 1 in {
+let isTerminator = 1, hasCtrlDep = 1, isBarrier = 1 in
 defm RETHROW : NRI<(outs), (ins i32imm:$depth), [], "rethrow \t$depth", 0x09>;
-} // isTerminator = 1, hasCtrlDep = 1, isBarrier = 1
+// isTerminator = 1, hasCtrlDep = 1, isBarrier = 1
----------------
aheejin wrote:

Drive-by fix

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


More information about the llvm-commits mailing list