[LLVMdev] [LLVMDev] Has anyone written this?

Bob Wilson bob.wilson at apple.com
Wed Oct 6 16:49:35 PDT 2010


On Oct 6, 2010, at 4:31 PM, Jeff Kunkel wrote:

> Has anyone written a pass at the MachineFunction level which combines
> machine basic blocks which is guaranteed to be the single predecessor
> to another block? Or is there a reason not to combine them?

I'm not sure exactly what transformation you're referring to, but BranchFolder::OptimizeBranches does a lot of things like that.



More information about the llvm-dev mailing list