We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 597e802 commit 61f4b07Copy full SHA for 61f4b07
llvm/lib/Target/RISCV/RISCVInstrInfo.td
@@ -499,7 +499,7 @@ def LeadingOnesMask : PatLeaf<(imm), [{
499
return false;
500
const auto &MO = MI.getOperand(1);
501
return !isInt<32>(MO.getCImm()->getSExtValue()) &&
502
- isMask_64(~MO.getCImm()->getSExtValue());
+ isMask_64(~MO.getCImm()->getSExtValue());
503
}];
504
}
505
@@ -535,7 +535,7 @@ def LeadingOnesWMask : PatLeaf<(imm), [{
535
536
int64_t Imm = MO.getCImm()->getSExtValue();
537
return !isInt<32>(Imm) && isUInt<32>(Imm) && isShiftedMask_64(Imm) &&
538
- Imm != UINT64_C(0xffffffff);
+ Imm != UINT64_C(0xffffffff);
539
540
541
0 commit comments