[PATCH] D44197: TableGen: Remove OpInit::Fold
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 19 07:16:38 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL327846: TableGen: Remove OpInit::Fold (authored by nha, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D44197
Files:
llvm/trunk/include/llvm/TableGen/Record.h
Index: llvm/trunk/include/llvm/TableGen/Record.h
===================================================================
--- llvm/trunk/include/llvm/TableGen/Record.h
+++ llvm/trunk/include/llvm/TableGen/Record.h
@@ -742,10 +742,6 @@
virtual unsigned getNumOperands() const = 0;
virtual Init *getOperand(unsigned i) const = 0;
- // Fold - If possible, fold this to a simpler init. Return this if not
- // possible to fold.
- virtual Init *Fold(Record *CurRec) const = 0;
-
Init *getBit(unsigned Bit) const override;
};
@@ -792,7 +788,7 @@
// Fold - If possible, fold this to a simpler init. Return this if not
// possible to fold.
- Init *Fold(Record *CurRec) const override;
+ Init *Fold(Record *CurRec) const;
Init *resolveReferences(Resolver &R) const override;
@@ -847,7 +843,7 @@
// Fold - If possible, fold this to a simpler init. Return this if not
// possible to fold.
- Init *Fold(Record *CurRec) const override;
+ Init *Fold(Record *CurRec) const;
Init *resolveReferences(Resolver &R) const override;
@@ -905,7 +901,7 @@
// Fold - If possible, fold this to a simpler init. Return this if not
// possible to fold.
- Init *Fold(Record *CurRec) const override;
+ Init *Fold(Record *CurRec) const;
bool isComplete() const override {
return LHS->isComplete() && MHS->isComplete() && RHS->isComplete();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44197.138912.patch
Type: text/x-patch
Size: 1378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180319/2b78d618/attachment.bin>
More information about the llvm-commits
mailing list