[PATCH] D59680: [ARM] Don't form "ands" when it isn't scheduled correctly.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 11:27:38 PDT 2019


efriedma added a comment.

> if cpsr was not used between the TST and the AND, this would be OK to remove

Yes.  But rescheduling would be more general and simpler to implement, I think.  Given the conditions here, it should be easy to prove the ANDri is safe to hoist.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D59680





More information about the llvm-commits mailing list