[PATCH] D156832: [GlobalISel] Handle trunc(sext x) in artifact combiner
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 1 16:47:10 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h:240
// Try to fold trunc(g_constant) when the smaller constant type is legal.
auto *SrcMI = MRI.getVRegDef(SrcReg);
----------------
Can we start moving all of this into ArtifactValueFinder instead of incrementally finding every permutation of casts?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156832/new/
https://reviews.llvm.org/D156832
More information about the llvm-commits
mailing list