[llvm] c3cb4e4 - Revert "[RISCV] Remove unused function declaration. NFC"

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 12 22:44:20 PDT 2023


Author: Craig Topper
Date: 2023-03-12T22:03:07-07:00
New Revision: c3cb4e4105f856811e6a5285d63e494e4fec278e

URL: https://github.com/llvm/llvm-project/commit/c3cb4e4105f856811e6a5285d63e494e4fec278e
DIFF: https://github.com/llvm/llvm-project/commit/c3cb4e4105f856811e6a5285d63e494e4fec278e.diff

LOG: Revert "[RISCV] Remove unused function declaration. NFC"

This reverts commit 5589c3cf752383fa42eaacc13fb985653ae528b6.

I need to revert an earlier patch to fix a mistake.

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h b/llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
index cdb972b463f30..091a080317a09 100644
--- a/llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
+++ b/llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
@@ -347,6 +347,7 @@ inline static bool isValidRoundingMode(unsigned Mode) {
 //
 
 namespace RISCVLoadFPImm {
+int getLoadFPImm(bool Sign, uint8_t Exp, uint8_t Mantissa);
 float getFPImm(unsigned Imm);
 
 /// getLoadFP32Imm - Return a 5-bit binary encoding of the 32-bit


        


More information about the llvm-commits mailing list