[PATCH] D95703: [GlobalISel] Propagate extends through G_PHIs into the incoming value blocks.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 29 17:51:39 PST 2021
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp:3589
+
+ // If the target is likely to fold this extend away, don't propagate.
+ if (Builder.getTII().isExtendLikelyToBeFolded(*ExtMI, MRI))
----------------
Folded into what?
================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:7192-7195
+ if (UserMI->getOpcode() == TargetOpcode::G_PTR_ADD)
+ return true;
+
+ return false;
----------------
return x == y;
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95703/new/
https://reviews.llvm.org/D95703
More information about the llvm-commits
mailing list