================

----------------
mtrofin wrote:

It additionally needs `!SafetyInfo->isGuaranteedToExecute)` (see LICM.cpp - 
`hoist`, right after the `ORE->emit` bit)

iiuc the indirectbr is a pretty easy way to ensure that (I copied the test from 
sinking.ll)

https://github.com/llvm/llvm-project/pull/152420
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to