[PATCH] D127530: [PowerPC] Extend GlobalISel implementation to emit and/or/xor.
ChenZheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 5 01:31:47 PDT 2022
shchenz added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/GISel/PPCRegisterBankInfo.cpp:80
+ break;
+ case TargetOpcode::COPY: {
+ Register DstReg = MI.getOperand(0).getReg();
----------------
Maybe we could move this to target independent handling at line 50? `getInstrMappingImpl` should able to handle case where register bank of one operand of the copy instruction is known.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127530/new/
https://reviews.llvm.org/D127530
More information about the llvm-commits
mailing list