Skip to content

Commit

Permalink
Removes the NVPTXSplitBBatBar pass.
Browse files Browse the repository at this point in the history
This pass is a historic remnant and actually causes less efficient code to be
generated in some cases.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204620 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
eliben committed Mar 24, 2014
1 parent 4ddee6a commit 2685aa8
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 118 deletions.
1 change: 0 additions & 1 deletion lib/Target/NVPTX/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ set(NVPTXCodeGen_sources
NVPTXRegisterInfo.cpp
NVPTXSubtarget.cpp
NVPTXTargetMachine.cpp
NVPTXSplitBBatBar.cpp
NVPTXLowerAggrCopies.cpp
NVPTXutil.cpp
NVPTXAllocaHoisting.cpp
Expand Down
73 changes: 0 additions & 73 deletions lib/Target/NVPTX/NVPTXSplitBBatBar.cpp

This file was deleted.

42 changes: 0 additions & 42 deletions lib/Target/NVPTX/NVPTXSplitBBatBar.h

This file was deleted.

2 changes: 0 additions & 2 deletions lib/Target/NVPTX/NVPTXTargetMachine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include "NVPTX.h"
#include "NVPTXAllocaHoisting.h"
#include "NVPTXLowerAggrCopies.h"
#include "NVPTXSplitBBatBar.h"
#include "llvm/ADT/OwningPtr.h"
#include "llvm/Analysis/Passes.h"
#include "llvm/CodeGen/AsmPrinter.h"
Expand Down Expand Up @@ -145,7 +144,6 @@ void NVPTXPassConfig::addIRPasses() {

bool NVPTXPassConfig::addInstSelector() {
addPass(createLowerAggrCopies());
addPass(createSplitBBatBarPass());
addPass(createAllocaHoisting());
addPass(createNVPTXISelDag(getNVPTXTargetMachine(), getOptLevel()));
return false;
Expand Down

0 comments on commit 2685aa8

Please sign in to comment.