[PATCH] D119305: [AArch64][LoadStoreOptimizer] Make sure physical registers used by renamable undef are not picked as register to rename.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 9 12:21:08 PST 2022


efriedma added a comment.

Probably the code printing the "Rename register used between paired instruction" diagnostic should ignore undef use; such uses don't use the value in any meaningful way.

For reference, the code in LiveRegUnits considers `isDef()` a write, and `readsReg()` a read.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119305



More information about the llvm-commits mailing list