[llvm] [SimplifyCFG] Add optimization for switches of powers of two (PR #70977)
    Yingwei Zheng via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Nov 17 04:11:31 PST 2023
    
    
  
================
@@ -0,0 +1,453 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --tool ./bin/opt --version 3
+; RUN: opt -passes='simplifycfg<switch-to-lookup>' -simplifycfg-require-and-preserve-domtree=1 -S -mtriple=riscv64 < %s \
----------------
dtcxzyw wrote:
Please move this file to the `RISCV` subdirectory.
https://github.com/llvm/llvm-project/pull/70977
    
    
More information about the llvm-commits
mailing list