[PATCH] D118066: [SimplifyCFG] Don't speculatively execute preductably-taken block

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 29 13:41:12 PST 2022


xbolva00 added a comment.

>> In general, I think we need to do the inverse. Flatten the CFG more aggressively, allow a simpler control flow that will facilitate IR-level optimizations

But you can expect perf problems due to missing optimizations with select over phi.

https://groups.google.com/g/llvm-dev/c/VcJnLMI7Deg/m/TshM3BkHCAAJ

(Or maybe GVN is now smarter..)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118066/new/

https://reviews.llvm.org/D118066



More information about the llvm-commits mailing list