[llvm-branch-commits] [llvm] [WebAssembly][GlobalISel] Implement `COPY` (PR #197256)
Demetrius Kanios via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue May 12 10:59:18 PDT 2026
================
@@ -83,13 +85,82 @@ WebAssemblyInstructionSelector::WebAssemblyInstructionSelector(
{
}
+bool WebAssemblyInstructionSelector::selectCopy(
+ MachineInstr &I, MachineRegisterInfo &MRI) const {
+ Register DstReg = I.getOperand(0).getReg();
+ Register SrcReg = I.getOperand(1).getReg();
+
+ const TargetRegisterClass *DstRC;
----------------
QuantumSegfault wrote:
Oh, yeah, that might be simpler.
Yeah, I remember...just haven't gotten around to maybe trying to fix that.
-----
And sorry about the mess. I did not expect Graphite to immedietly post these PRs. I though I'd have a chance to clean them up first (so what's the "publish" button for then!?!?!?).
I guess if doing a stack, the commits should have the PR title and description from the start.
https://github.com/llvm/llvm-project/pull/197256
More information about the llvm-branch-commits
mailing list