[llvm] [SimplifyCFG] Extend SimplifyCFG to lower s/ucmp + 3-arm switch (PR #222786)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 13 03:54:58 PDT 2026


dtcxzyw wrote:

> but this approach uses SimplifyCFG over CodeGenPrepare, since its a cost model is not needed here. Instead run this on the final SimplifyCFG.

I cannot get your motivation to switch to SimplifyCFG. https://github.com/llvm/llvm-project/pull/176582 also doesn't rely on a cost model, no?


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


More information about the llvm-commits mailing list