[PATCH] D96388: [AArch64][GlobalISel] Fold G_ADD into the cset for G_ICMP
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 10 10:32:44 PST 2021
aemerson accepted this revision.
aemerson added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp:2181
+ Cmp->getOperand(1), MIRBuilder);
+ emitCSetForICMP(I.getOperand(0).getReg(), Pred, MIRBuilder, X);
+ I.eraseFromParent();
----------------
What if the type is s64? emitCSetForICMP seems to only work for s32.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96388/new/
https://reviews.llvm.org/D96388
More information about the llvm-commits
mailing list