[llvm] [SimplifyCFG] Don't use a mask for lookup tables generated from switches with an unreachable default case (PR #94468)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 02:58:16 PDT 2024


================
@@ -0,0 +1,534 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt < %s -passes=simplifycfg -switch-to-lookup=true -keep-loops=false -S | FileCheck %s
----------------
nikic wrote:

I don't think `-keep-loops` is relevant here? We also don't need both RUN lines, they do the same thing.

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


More information about the llvm-commits mailing list