[clang] 684b626 - [RISCV][TableGen] Remove HasMaskedOffOperand as a member of RVVIntrinsic. NFC
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 18 15:56:50 PDT 2021
Author: Craig Topper
Date: 2021-10-18T15:56:37-07:00
New Revision: 684b6265b31cabf422b01cd8937a3641c6df914f
URL: https://github.com/llvm/llvm-project/commit/684b6265b31cabf422b01cd8937a3641c6df914f
DIFF: https://github.com/llvm/llvm-project/commit/684b6265b31cabf422b01cd8937a3641c6df914f.diff
LOG: [RISCV][TableGen] Remove HasMaskedOffOperand as a member of RVVIntrinsic. NFC
This value is only used by the RVVIntrinsic constructor. We don't
need it to be a member.
Added:
Modified:
clang/utils/TableGen/RISCVVEmitter.cpp
Removed:
################################################################################
diff --git a/clang/utils/TableGen/RISCVVEmitter.cpp b/clang/utils/TableGen/RISCVVEmitter.cpp
index d9c9ac86f34c..462406db6a75 100644
--- a/clang/utils/TableGen/RISCVVEmitter.cpp
+++ b/clang/utils/TableGen/RISCVVEmitter.cpp
@@ -155,7 +155,6 @@ class RVVIntrinsic {
std::string IRName;
bool HasSideEffects;
bool IsMask;
- bool HasMaskedOffOperand;
bool HasVL;
bool HasPolicy;
bool HasNoMaskedOverloaded;
@@ -182,7 +181,6 @@ class RVVIntrinsic {
StringRef getName() const { return Name; }
StringRef getMangledName() const { return MangledName; }
bool hasSideEffects() const { return HasSideEffects; }
- bool hasMaskedOffOperand() const { return HasMaskedOffOperand; }
bool hasVL() const { return HasVL; }
bool hasPolicy() const { return HasPolicy; }
bool hasNoMaskedOverloaded() const { return HasNoMaskedOverloaded; }
@@ -766,9 +764,9 @@ RVVIntrinsic::RVVIntrinsic(StringRef NewName, StringRef Suffix,
const std::vector<int64_t> &NewIntrinsicTypes,
StringRef RequiredExtension, unsigned NF)
: IRName(IRName), HasSideEffects(HasSideEffects), IsMask(IsMask),
- HasMaskedOffOperand(HasMaskedOffOperand), HasVL(HasVL),
- HasPolicy(HasPolicy), HasNoMaskedOverloaded(HasNoMaskedOverloaded),
- HasAutoDef(HasAutoDef), ManualCodegen(ManualCodegen.str()), NF(NF) {
+ HasVL(HasVL), HasPolicy(HasPolicy),
+ HasNoMaskedOverloaded(HasNoMaskedOverloaded), HasAutoDef(HasAutoDef),
+ ManualCodegen(ManualCodegen.str()), NF(NF) {
// Init Name and MangledName
Name = NewName.str();
More information about the cfe-commits
mailing list