[PATCH] D109357: [GlobalISel] Add a combine for and(load , mask) -> zextload
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 7 17:19:45 PDT 2021
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp:673
+ if (!isLegalOrBeforeLegalizer({TargetOpcode::G_ZEXTLOAD,
+ {MRI.getType(LoadMI->getDstReg()),
+ MRI.getType(LoadMI->getPointerReg())},
----------------
paquette wrote:
> Reuse `LoadReg`?
Just save the type above?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109357/new/
https://reviews.llvm.org/D109357
More information about the llvm-commits
mailing list