[PATCH] D127530: [PowerPC] Extend GlobalISel implementation to emit and/or/xor.
ChenZheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 7 19:04:59 PDT 2022
shchenz added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp:86
+
+ if (!RBI.constrainGenericRegister(Reg, PPC::G8RCRegClass, MRI))
+ return false;
----------------
There is an approved version of `selectCopy()` in D132942. We may only need to constrain dest virtual register in the COPY instruction and for the source registers, we can defer them to other uses or defs?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127530/new/
https://reviews.llvm.org/D127530
More information about the llvm-commits
mailing list