[PATCH] D141747: Resolve a FIXME in MachineCopyPropagation by allowig propagation to subregister uses.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 14 16:01:48 PST 2023
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/MachineCopyPropagation.cpp:604
+ SubregIdx = TRI->getSubRegIndex(CopyDstReg, MOUse.getReg());
+ assert(SubregIdx && "Unable to find index of subregister");
}
----------------
This should bail as before rather than assert, the result class might not support the index
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141747/new/
https://reviews.llvm.org/D141747
More information about the llvm-commits
mailing list