We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5133ec1 commit 0417e7fCopy full SHA for 0417e7f
llvm/lib/CodeGen/PeepholeOptimizer.cpp
@@ -992,8 +992,10 @@ bool PeepholeOptimizer::optimizeCondBranch(MachineInstr &MI) {
992
return TII->optimizeCondBranch(MI);
993
}
994
995
-/// Try to find the next source that share the same register file
996
-/// for the value defined by \p Reg and \p SubReg.
+/// Try to find a better source value that shares the same register file to
+/// replace \p RegSubReg in an instruction like
997
+/// `DefRC.DefSubReg = COPY RegSubReg`
998
+///
999
/// When true is returned, the \p RewriteMap can be used by the client to
1000
/// retrieve all Def -> Use along the way up to the next source. Any found
1001
/// Use that is not itself a key for another entry, is the next source to
0 commit comments