-
Notifications
You must be signed in to change notification settings - Fork 15.4k
[AMDGPU][NewPM] Make the pass flow consistent with the legacy pipeline. #136551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
@llvm/pr-subscribers-backend-amdgpu Author: Christudasan Devadasan (cdevadas) ChangesFull diff: https://github.com/llvm/llvm-project/pull/136551.diff 1 Files Affected:
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
index 90e3489ced923..b6cc5137d711a 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
@@ -2081,13 +2081,11 @@ void AMDGPUCodeGenPassBuilder::addCodeGenPrepare(AddIRPass &addPass) const {
void AMDGPUCodeGenPassBuilder::addPreISel(AddIRPass &addPass) const {
- if (TM.getOptLevel() > CodeGenOptLevel::None)
+ if (TM.getOptLevel() > CodeGenOptLevel::None) {
addPass(FlattenCFGPass());
-
- if (TM.getOptLevel() > CodeGenOptLevel::None)
addPass(SinkingPass());
-
- addPass(AMDGPULateCodeGenPreparePass(TM));
+ addPass(AMDGPULateCodeGenPreparePass(TM));
+ }
// Merge divergent exit nodes. StructurizeCFG won't recognize the multi-exit
// regions formed by them.
|
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/16522 Here is the relevant piece of the build log for the reference |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/35/builds/9382 Here is the relevant piece of the build log for the reference |

No description provided.