[llvm] 8d4cd2d - [MC] Add isFPImm after D96091

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 4 20:51:10 PST 2021


Author: Fangrui Song
Date: 2021-02-04T20:51:02-08:00
New Revision: 8d4cd2da1f26a18d566cd7b7f1a839c1640cebd7

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

LOG: [MC] Add isFPImm after D96091

Added: 
    

Modified: 
    llvm/include/llvm/MC/MCInst.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/MC/MCInst.h b/llvm/include/llvm/MC/MCInst.h
index b8f4db8b20c3..f22a452d06f9 100644
--- a/llvm/include/llvm/MC/MCInst.h
+++ b/llvm/include/llvm/MC/MCInst.h
@@ -61,6 +61,7 @@ class MCOperand {
   bool isImm() const { return Kind == kImmediate; }
   bool isSFPImm() const { return Kind == kSFPImmediate; }
   bool isDFPImm() const { return Kind == kDFPImmediate; }
+  bool isFPImm() const { return Kind == kDFPImmediate; }
   bool isExpr() const { return Kind == kExpr; }
   bool isInst() const { return Kind == kInst; }
 


        


More information about the llvm-commits mailing list