diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-06-09 23:18:47 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-06-09 23:18:47 +0000 |
commit | c3a01ec9db251271324c340e2ee44db1faa9dedf (patch) | |
tree | 5b942452d18b0f6ec1e5f9faf985e88453c4a3a0 /llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp | |
parent | 652ec4f595001376fe5a61edae9df42047c907cc (diff) | |
download | bcm5719-llvm-c3a01ec9db251271324c340e2ee44db1faa9dedf.tar.gz bcm5719-llvm-c3a01ec9db251271324c340e2ee44db1faa9dedf.zip |
AMDGPU: Properly initialize SIShrinkInstructions
llvm-svn: 272336
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp')
-rw-r--r-- | llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp b/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp index 912ac503664..18ad274d946 100644 --- a/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp +++ b/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp @@ -31,10 +31,6 @@ STATISTIC(NumInstructionsShrunk, STATISTIC(NumLiteralConstantsFolded, "Number of literal constants folded into 32-bit instructions."); -namespace llvm { - void initializeSIShrinkInstructionsPass(PassRegistry&); -} - using namespace llvm; namespace { @@ -61,10 +57,8 @@ public: } // End anonymous namespace. -INITIALIZE_PASS_BEGIN(SIShrinkInstructions, DEBUG_TYPE, - "SI Lower il Copies", false, false) -INITIALIZE_PASS_END(SIShrinkInstructions, DEBUG_TYPE, - "SI Lower il Copies", false, false) +INITIALIZE_PASS(SIShrinkInstructions, DEBUG_TYPE, + "SI Shrink Instructions", false, false) char SIShrinkInstructions::ID = 0; |