samparker added a comment.

> I can add liveness info into the outlined function, but we will need to do 
> the same on AArch64 even if is not necessary.

Hmm, would it be possible to pass a bool to the pass which will control whether 
liveness is updated? The other, suboptimal, option would be to not do outlining 
when we have the LOB extension.

> On the other hand isn't it the same for the ConstantIslands pass, I mean 
> isn't the size of blocks modified by the LowOverheadLoops pass which can 
> potentially break the accesses to some constant ?

Yes, but LowOverheadLoops does not increase block size or change the CFG. We 
mainly remove instructions but in the cases where we add instructions, they're 
replacing pseudos with a size that represents the maximum number of 
instructions that could be inserted.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D57054



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to