[BranchFolder] Skip redundant IMPLICIT_DEFs of subregs
authorJay Foad <jay.foad@amd.com>
Mon, 17 Apr 2023 10:06:06 +0000 (11:06 +0100)
committerJay Foad <jay.foad@amd.com>
Thu, 27 Apr 2023 08:40:06 +0000 (09:40 +0100)
commit47d3cbcf842a036c20c3f1c74255cdfc213f41c2
tree7954d0895359047d2b4e4ee369941f2610227169
parent12b70ad68ccf3e9415cb6c42f8eb73e883f159ae
[BranchFolder] Skip redundant IMPLICIT_DEFs of subregs

Differential Revision: https://reviews.llvm.org/D148509
llvm/lib/CodeGen/BranchFolding.cpp
llvm/test/CodeGen/AMDGPU/branch-folding-implicit-def-subreg.ll