[llvm] [Xtensa] Fix S32C1I instruction encoding and copyPhysReg. (PR #165174)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 30 15:15:34 PDT 2025
================
@@ -114,14 +114,30 @@ void XtensaInstrInfo::copyPhysReg(MachineBasicBlock &MBB,
const DebugLoc &DL, Register DestReg,
Register SrcReg, bool KillSrc,
bool RenamableDest, bool RenamableSrc) const {
- // The MOV instruction is not present in core ISA,
- // so use OR instruction.
- if (Xtensa::ARRegClass.contains(DestReg, SrcReg))
+ unsigned Opcode;
+
+ // when we are copying a phys reg we want the bits for fp
----------------
arsenm wrote:
Capitalize and punctuate
https://github.com/llvm/llvm-project/pull/165174
More information about the llvm-commits
mailing list