[PATCH] D157202: [AArch64][GISel] Fix selection of G_CONSTANT_FOLD_BARRIER
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 11 12:12:17 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp:182-185
+ (DstRBC && DstRBC.is<const RegisterBank *>() &&
+ MRI.getRegClassOrNull(SrcReg) &&
+ DstRBC.get<const RegisterBank *>()->covers(
+ *MRI.getRegClassOrNull(SrcReg)))) &&
----------------
I would assume canReplaceReg covers all this
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157202/new/
https://reviews.llvm.org/D157202
More information about the llvm-commits
mailing list