[all-commits] [llvm/llvm-project] c22cb5: [GlobalISel] Enable artifact combiner to combine s...
AE via All-commits
all-commits at lists.llvm.org
Wed Apr 15 10:37:43 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c22cb5bd31ca6a2d1253cedc3f8cc872fb93c17b
https://github.com/llvm/llvm-project/commit/c22cb5bd31ca6a2d1253cedc3f8cc872fb93c17b
Author: Amara Emerson <aemerson at apple.com>
Date: 2020-04-15 (Wed, 15 Apr 2020)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-sext-zext-128.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-combiner.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/zextload.ll
M llvm/test/CodeGen/Mips/GlobalISel/legalizer/ctlz.mir
M llvm/test/CodeGen/Mips/GlobalISel/legalizer/ctpop.mir
M llvm/test/CodeGen/Mips/GlobalISel/legalizer/cttz.mir
M llvm/test/CodeGen/Mips/GlobalISel/legalizer/zextLoad_and_sextLoad.mir
M llvm/test/CodeGen/Mips/GlobalISel/legalizer/zext_and_sext.mir
Log Message:
-----------
[GlobalISel] Enable artifact combiner to combine starting from a G_MERGE_VALUES.
We generally only combine starting from users to defs in the artifact combiner,
but this doesn't catch cases where at the point of combining a G_UNMERGE we don't
yet have the opposite G_MERGE on input yet since we haven't legalized that far.
This change adds the users of a G_MERGE to the artifact combiner worklist if one
of the uses is a G_UNMERGE or G_TRUNC.
Differential Revision: https://reviews.llvm.org/D77931
More information about the All-commits
mailing list