[all-commits] [llvm/llvm-project] 3bdf45: [NFC] [TargetRegisterInfo] add one use check to lo...
Chen Zheng via All-commits
all-commits at lists.llvm.org
Sun Jan 17 17:06:45 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3bdf4507b66348ad78df4655a8e4f36c3fc10f3c
https://github.com/llvm/llvm-project/commit/3bdf4507b66348ad78df4655a8e4f36c3fc10f3c
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2021-01-17 (Sun, 17 Jan 2021)
Changed paths:
M llvm/include/llvm/CodeGen/TargetRegisterInfo.h
M llvm/lib/CodeGen/TargetRegisterInfo.cpp
Log Message:
-----------
[NFC] [TargetRegisterInfo] add one use check to lookThruCopyLike.
add one use check to lookThruCopyLike.
The root node is safe to be deleted if we are sure that every
definition in the copy chain only has one use.
Reviewed By: jsji
Differential Revision: https://reviews.llvm.org/D92069
More information about the All-commits
mailing list