[PATCH] D92069: [NFC] [TargetRegisterInfo] add one use check to lookThruCopyLike.
Eric Christopher via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 21 17:16:35 PST 2021
echristo added inline comments.
================
Comment at: llvm/lib/CodeGen/TargetRegisterInfo.cpp:536
+Register TargetRegisterInfo::lookThruSingleUseCopyChain(
+ Register SrcReg, const MachineRegisterInfo *MRI) const {
----------------
You should document what it's doing ahead of time as well. It's not clear when and how you'd use this function.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92069/new/
https://reviews.llvm.org/D92069
More information about the llvm-commits
mailing list