[llvm] c9d747e - [AMDGPU] Remove outdated comment and tidy up. NFC.

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 6 03:29:50 PDT 2021


Author: Jay Foad
Date: 2021-07-06T11:29:36+01:00
New Revision: c9d747e9cd6db4a104980ad4358f70cba0a1a634

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

LOG: [AMDGPU] Remove outdated comment and tidy up. NFC.

This was left over from D94746.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp b/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
index e053e8618b9d..edfafd6cd8aa 100644
--- a/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
+++ b/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
@@ -838,14 +838,10 @@ bool SILowerControlFlow::runOnMachineFunction(MachineFunction &MF) {
 
       switch (MI.getOpcode()) {
       case AMDGPU::SI_IF:
-        SplitMBB = process(MI);
-        break;
-
       case AMDGPU::SI_ELSE:
       case AMDGPU::SI_IF_BREAK:
       case AMDGPU::SI_LOOP:
       case AMDGPU::SI_END_CF:
-        // Only build worklist if SI_IF instructions must be processed first.
         SplitMBB = process(MI);
         break;
 


        


More information about the llvm-commits mailing list