This adds a hint elimination combine, which changes
%x = ... %y = G_ASSERT_ZEXT %x, n ... %z = G_FOO ... %y ...
into
%x = ... ... %z = G_FOO ... %x
This is intended to run in a late combiner, post-legalization.
Paths
| Differential D95565
[GlobalISel] Add hint elimination combine AbandonedPublic Authored by paquette on Jan 27 2021, 2:36 PM.
Details
Diff Detail Event TimelineComment Actions I think letting the selector handle these as copies would be better. The selector still benefits from the known bits information paquette added a child revision: D95567: [AArch64][GlobalISel] Emit G_ASSERT_ZEXT in assignValueToReg.Jan 27 2021, 2:43 PM
Revision Contents
Diff 319680 llvm/include/llvm/Target/GlobalISel/Combine.td
llvm/lib/Target/AArch64/AArch64Combine.td
llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-lowering-hint.mir
|