[llvm] CloneFunction: Do not delete blocks with address taken (PR #134209)
    Nikita Popov via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Apr  3 00:09:28 PDT 2025
    
    
  
https://github.com/nikic approved this pull request.
LGTM, in that this is consistent with MergeBlockIntoPredecessor behavior.
(I think technically it is legal to ignore the blockaddress in this case, because it is only specified to be meaningful in conjunction with indirectbr, where this fold would not apply. But given the ways the linux kernel abuses block labels, that ship has already sailed.)
https://github.com/llvm/llvm-project/pull/134209
    
    
More information about the llvm-commits
mailing list