[llvm] 4132dc9 - AMDGPU: Return result from indicatePessimisticFixpoint

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 16 08:26:34 PST 2021


Author: Matt Arsenault
Date: 2021-12-16T11:26:30-05:00
New Revision: 4132dc917eddb446405cc5afef41167b8bce360b

URL: https://github.com/llvm/llvm-project/commit/4132dc917eddb446405cc5afef41167b8bce360b
DIFF: https://github.com/llvm/llvm-project/commit/4132dc917eddb446405cc5afef41167b8bce360b.diff

LOG: AMDGPU: Return result from indicatePessimisticFixpoint

I don't think this fixes anything.

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp b/llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
index b83e083bfe98b..b4ebc7d7d75f9 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
@@ -307,7 +307,7 @@ struct AAUniformWorkGroupSizeFunction : public AAUniformWorkGroupSize {
 
     bool AllCallSitesKnown = true;
     if (!A.checkForAllCallSites(CheckCallSite, *this, true, AllCallSitesKnown))
-      indicatePessimisticFixpoint();
+      return indicatePessimisticFixpoint();
 
     return Change;
   }


        


More information about the llvm-commits mailing list