[llvm] e882ac7 - [CallSite removal][TargetLowering] Remove ArgListEntry::setAttributes signature that took an ImmutableCallSite. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 16 00:08:27 PDT 2020
Author: Craig Topper
Date: 2020-04-16T00:07:59-07:00
New Revision: e882ac7c04a47e5fadc6cd151149e2192c4e0a7e
URL: https://github.com/llvm/llvm-project/commit/e882ac7c04a47e5fadc6cd151149e2192c4e0a7e
DIFF: https://github.com/llvm/llvm-project/commit/e882ac7c04a47e5fadc6cd151149e2192c4e0a7e.diff
LOG: [CallSite removal][TargetLowering] Remove ArgListEntry::setAttributes signature that took an ImmutableCallSite. NFC
There's another signature that takes a CallBase. The uses of the
ImmutableCallSite version were removed in previous patches.
Added:
Modified:
llvm/include/llvm/CodeGen/TargetLowering.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/TargetLowering.h b/llvm/include/llvm/CodeGen/TargetLowering.h
index 98df5214d815..ef907d663f99 100644
--- a/llvm/include/llvm/CodeGen/TargetLowering.h
+++ b/llvm/include/llvm/CodeGen/TargetLowering.h
@@ -37,7 +37,6 @@
#include "llvm/CodeGen/TargetCallingConv.h"
#include "llvm/CodeGen/ValueTypes.h"
#include "llvm/IR/Attributes.h"
-#include "llvm/IR/CallSite.h"
#include "llvm/IR/CallingConv.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/DerivedTypes.h"
@@ -287,10 +286,6 @@ class TargetLoweringBase {
IsSwiftSelf(false), IsSwiftError(false), IsCFGuardTarget(false) {}
void setAttributes(const CallBase *Call, unsigned ArgIdx);
-
- void setAttributes(ImmutableCallSite *CS, unsigned ArgIdx) {
- return setAttributes(cast<CallBase>(CS->getInstruction()), ArgIdx);
- }
};
using ArgListTy = std::vector<ArgListEntry>;
More information about the llvm-commits
mailing list