Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion llvm/include/llvm/Support/Yk.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ extern bool YkPatchCtrlPoint;
extern bool YkPatchIdempotent;
extern bool YkOutlineUntraceable;
extern bool YkModuleClone;
extern bool YkShimCallees;

#endif
18 changes: 0 additions & 18 deletions llvm/include/llvm/Transforms/Yk/ShimCallees.h

This file was deleted.

6 changes: 1 addition & 5 deletions llvm/lib/CodeGen/TargetPassConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
#include "llvm/Transforms/Yk/MarkTraceableOptNone.h"
#include "llvm/Transforms/Yk/NoCallsInEntryBlocks.h"
#include "llvm/Transforms/Yk/BasicBlockTracer.h"
#include "llvm/Transforms/Yk/ShimCallees.h"
#include "llvm/Transforms/Yk/ModuleClone.h"
#include <cassert>
#include <optional>
#include <string>
Expand Down Expand Up @@ -1204,10 +1204,6 @@ bool TargetPassConfig::addISelPasses() {
addPass(createYkBasicBlockTracerPass());
}

if (YkShimCallees) {
addPass(createYkShimCalleesPass());
}

addISelPrepare();
return addCoreISelPasses();
}
Expand Down
14 changes: 0 additions & 14 deletions llvm/lib/Support/Yk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,19 +162,6 @@ struct CreateYkModuleCloneParser {
} // namespace
static ManagedStatic<cl::opt<bool, true>, CreateYkModuleCloneParser> YkModuleCloneParser;

bool YkShimCallees;
namespace {
struct CreateYkShimCalleesParser {
static void *call() {
return new cl::opt<bool, true>(
"yk-shim-callees",
cl::desc("Enables shimming in traceable AOT code for Yk JIT"),
cl::NotHidden, cl::location(YkShimCallees));
}
};
} // namespace
static ManagedStatic<cl::opt<bool, true>, CreateYkShimCalleesParser> YkShimCalleesParser;

void llvm::initYkOptions() {
*YkExtendedLLVMBBAddrMapSectionParser;
*YkStackMapOffsetFixParser;
Expand All @@ -187,5 +174,4 @@ void llvm::initYkOptions() {
*YkPatchIdempotentParser;
*YkOutlineUntraceableParser;
*YkModuleCloneParser;
*YkShimCalleesParser;
}
1 change: 0 additions & 1 deletion llvm/lib/Transforms/Yk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ add_llvm_component_library(LLVMYkPasses
BasicBlockTracer.cpp
ModuleClone.cpp
MarkTraceableOptNone.cpp
ShimCallees.cpp

DEPENDS
intrinsics_gen
Expand Down
174 changes: 0 additions & 174 deletions llvm/lib/Transforms/Yk/ShimCallees.cpp

This file was deleted.