[PATCH] D136319: [GISel] Rework trunc/shl combine in a generic trunc/shift combine
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 16 09:18:11 PST 2022
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp:2313
+ //
+ // TODO: Fix truncstore combine to handle (trunc(lshr (trunc x), k)).
+ for (auto &User : MRI.use_instructions(DstReg))
----------------
arsenm wrote:
> I don't understand special casing this, I'd rather just ignore it
Do this first then?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136319/new/
https://reviews.llvm.org/D136319
More information about the llvm-commits
mailing list