[llvm] r269943 - AMDGPU: Don't run passes that aren't useful
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed May 18 08:41:10 PDT 2016
Author: arsenm
Date: Wed May 18 10:41:07 2016
New Revision: 269943
URL: http://llvm.org/viewvc/llvm-project?rev=269943&view=rev
Log:
AMDGPU: Don't run passes that aren't useful
Modified:
llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp?rev=269943&r1=269942&r2=269943&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp Wed May 18 10:41:07 2016
@@ -217,6 +217,11 @@ TargetIRAnalysis AMDGPUTargetMachine::ge
}
void AMDGPUPassConfig::addIRPasses() {
+ // There is no reason to run these.
+ disablePass(&StackMapLivenessID);
+ disablePass(&FuncletLayoutID);
+ disablePass(&PatchableFunctionID);
+
// Function calls are not supported, so make sure we inline everything.
addPass(createAMDGPUAlwaysInlinePass());
addPass(createAlwaysInlinerPass());
More information about the llvm-commits
mailing list