llvm-project
llvm-project copied to clipboard
RenameIndependentSubregs: try to only implicit def used subregs (#167486)
Attempt to only define used subregisters when creating IMPLICIT_DEF fix ups for live interval subranges. This avoids the appearance at the MIR level of entire (wide) registers becoming live rather than relying only on transient LiveIntervals dead definitions for unused subregisters.
(cherry picked from commit b1c4b55118131cdf3d6d47ba31578b2e0cd78ec7)
PSDB Link: https://compiler-ci.amd.com/job/compiler-psdb-amd-mainline/458