[llvm] [SimplifyCFG] Simplify switch instruction that has duplicate arms (PR #114262)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 14 08:28:23 PST 2024


================
@@ -0,0 +1,172 @@
+; 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=SIMPLIFY-CFG
+; RUN: opt < %s -O3 -S | FileCheck %s -check-prefix=O3
----------------
nikic wrote:

```suggestion
```
Do not run `O3` in SimplifyCFG tests.

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


More information about the llvm-commits mailing list