[llvm] 01097dc - Remove InvokeInst methods which duplicate those of its superclass CallBase.
James Y Knight via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 23 16:12:11 PDT 2020
Author: James Y Knight
Date: 2020-04-23T19:11:11-04:00
New Revision: 01097dc644e38b1491c5a9607cb627afe960271e
URL: https://github.com/llvm/llvm-project/commit/01097dc644e38b1491c5a9607cb627afe960271e
DIFF: https://github.com/llvm/llvm-project/commit/01097dc644e38b1491c5a9607cb627afe960271e.diff
LOG: Remove InvokeInst methods which duplicate those of its superclass CallBase.
Added:
Modified:
llvm/include/llvm/IR/Instructions.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/Instructions.h b/llvm/include/llvm/IR/Instructions.h
index 7188b82f8c64..28880e183467 100644
--- a/llvm/include/llvm/IR/Instructions.h
+++ b/llvm/include/llvm/IR/Instructions.h
@@ -3725,15 +3725,6 @@ class InvokeInst : public CallBase {
static InvokeInst *Create(InvokeInst *II, ArrayRef<OperandBundleDef> Bundles,
Instruction *InsertPt = nullptr);
- /// Determine if the call should not perform indirect branch tracking.
- bool doesNoCfCheck() const { return hasFnAttr(Attribute::NoCfCheck); }
-
- /// Determine if the call cannot unwind.
- bool doesNotThrow() const { return hasFnAttr(Attribute::NoUnwind); }
- void setDoesNotThrow() {
- addAttribute(AttributeList::FunctionIndex, Attribute::NoUnwind);
- }
-
// get*Dest - Return the destination basic blocks...
BasicBlock *getNormalDest() const {
return cast<BasicBlock>(Op<NormalDestOpEndIdx>());
More information about the llvm-commits
mailing list