[PATCH] D124092: CodeGen: Remove MaxBytesForAlignment from MachineBasicBlock
    Matt Arsenault via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Jun  1 09:08:33 PDT 2022
    
    
  
arsenm added a comment.
In D124092#3550457 <https://reviews.llvm.org/D124092#3550457>, @dmgreen wrote:
> It's used by AArch64, even if it's just a single value at the moment. getMaxPermittedBytesForAlignment should probably be called something like getMaxPermittedBytesForLoopAlignment. GCC sets different alignment/maxbytes for Loops vs Jumptable (vs Functions). You could imagine having different alignments/maxbytes for outer loops vs inner loops, or based on some other characteristics of the loop.
You could imagine it, but unless someone implements something using this, it's bitrotting, incomplete infrastructure.
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124092/new/
https://reviews.llvm.org/D124092
    
    
More information about the llvm-commits
mailing list