[llvm] SimplifyCFG: Enable switch replacements in more cases (PR #156477)

Jessica Del via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 2 11:00:54 PDT 2025


================
@@ -0,0 +1,445 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -S -passes='simplifycfg' < %s | FileCheck %s --check-prefix=OPTNOLUT
+; RUN: opt -mtriple=amdgcn--amdpal -S -passes='simplifycfg<switch-to-lookup>' < %s | FileCheck %s --check-prefix=TTINOLUT
----------------
OutOfCache wrote:

Thanks, did not know this existed.

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


More information about the llvm-commits mailing list