[PATCH] D107677: Prevent machine licm if remattable with a vreg use

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 10 02:37:41 PDT 2021


dmgreen added a comment.

This does effect the ARM backend, apparently at some point it obtained the ability to hoist VCTP instructions which take a register use. I'm not sure if that really fits the definition of trivially rematerializable though, from the code comment on isTriviallyReMaterializable. (But I'm not sure that comment is up to date.)

Can you explain more why we don't want to hoist them out of loops?


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

https://reviews.llvm.org/D107677



More information about the llvm-commits mailing list