[llvm] AMDGPU: Remove dead code for printing DFP immediates (PR #156644)
Frederik Harwath via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 3 04:21:35 PDT 2025
================
@@ -792,22 +792,6 @@ void AMDGPUInstPrinter::printRegularOperand(const MCInst *MI, unsigned OpNo,
// custom printer.
llvm_unreachable("unexpected immediate operand type");
}
- } else if (Op.isDFPImm()) {
----------------
frederik-h wrote:
Perhaps add "assert(!Op.isDFPImm());" to the else-branch?
https://github.com/llvm/llvm-project/pull/156644
More information about the llvm-commits
mailing list