[llvm] [X86, SimplifyCFG] Support hoisting load/store with conditional faulting (Part I) (PR #96878)

via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 20 18:57:08 PDT 2024


DianQK wrote:

> > I think that this isn't something SimplifyCFG should be handling.
> 
> This is completely opposite to what I thought. Can you tell me the reasoning behind your idea?

Because hoisting instructions won't change the CFG, if all instructions can be hoisted, we can transform it into two passes.

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


More information about the llvm-commits mailing list