[llvm] [AMDGPU] Remove unused functions for checking 16-bit inline literals (PR #81282)
Joe Nash via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 9 11:47:05 PST 2024
================
@@ -353,7 +353,6 @@ class AMDGPUInstructionSelector final : public InstructionSelector {
void renderFPPow2ToExponent(MachineInstrBuilder &MIB, const MachineInstr &MI,
int OpIdx) const;
- bool isInlineImmediate16(int64_t Imm) const;
----------------
Sisyph wrote:
I see this function as well as isInlineImmediate32 and isInlineImmediate64 are called in
AMDGPUGenGlobalISel.inc AMDGPUInstructionSelector::testImmPredicate_I64, but I'm not sure if that function is used.
Perhaps you can remove all 3 functions?
https://github.com/llvm/llvm-project/pull/81282
More information about the llvm-commits
mailing list