[llvm] [SimplifyCFG] Add optimization for switches of powers of two (PR #70977)

via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 9 18:39:29 PST 2023


================
@@ -0,0 +1,90 @@
+; RUN: opt %s -passes='simplifycfg<switch-to-lookup>' -simplifycfg-require-and-preserve-domtree=1 -S | FileCheck %s
----------------
DKay7 wrote:

Done. Thanks

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


More information about the llvm-commits mailing list