[all-commits] [llvm/llvm-project] 776f5f: IR: Simplify BlockAddress replacement

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Apr 11 05:37:26 PDT 2025


  Branch: refs/heads/users/arsenm/ir/simplify-block-address-deletion
  Home:   https://github.com/llvm/llvm-project
  Commit: 776f5fac948d75c23955f8061923add94583f7ad
      https://github.com/llvm/llvm-project/commit/776f5fac948d75c23955f8061923add94583f7ad
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-04-11 (Fri, 11 Apr 2025)

  Changed paths:
    M llvm/lib/IR/BasicBlock.cpp
    M llvm/test/CodeGen/RISCV/codemodel-lowering.ll
    M llvm/test/CodeGen/WebAssembly/indirectbr.ll
    M llvm/test/Transforms/Attributor/IPConstantProp/dangling-block-address.ll
    M llvm/test/Transforms/Attributor/liveness.ll
    M llvm/test/Transforms/JumpThreading/select.ll
    M llvm/test/Transforms/LoopDeletion/blockaddress.ll

  Log Message:
  -----------
  IR: Simplify BlockAddress replacement

Use poison for the replacement value, and don't repeatedly
replaceAllUsesWith in a loop.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list