Skip to content

Commit

Permalink
Fix unused-variable warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
katerynamuts committed Feb 13, 2025
1 parent ff3a74b commit 75868aa
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions llvm/lib/Target/AIE/AIECombinerHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ MachineInstr *findPreIncMatch(MachineInstr &MemI, MachineRegisterInfo &MRI,
const AIEBaseInstrInfo &TII) {
// This is currently done with patterns in instruction selection.
// No need to do it here.
MachineFunction &MF = *MemI.getMF();
const Triple &TT = MF.getTarget().getTargetTriple();
const unsigned VecSize =
MRI.getType(MemI.getOperand(0).getReg()).getSizeInBits();
if (VecSize > TII.getMaxSupportedLdStIncSize()) {
Expand Down Expand Up @@ -389,8 +387,6 @@ MachineInstr *findPostIncMatch(MachineInstr &MemI, MachineRegisterInfo &MRI,
const AIEBaseInstrInfo &TII) {
if (!EnablePostIncCombine)
return nullptr;
MachineFunction &MF = *MemI.getMF();
const Triple &TT = MF.getTarget().getTargetTriple();
const unsigned VecSize =
MRI.getType(MemI.getOperand(0).getReg()).getSizeInBits();
if (VecSize > TII.getMaxSupportedLdStIncSize()) {
Expand Down

0 comments on commit 75868aa

Please sign in to comment.