[all-commits] [llvm/llvm-project] fd68fe: [DFAJumpThreading] Clone noalias scopes when dupli...

Justin Lebar via All-commits all-commits at lists.llvm.org
Fri Jun 5 04:59:57 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd68fe73c8bebd034dab52d82f0ed4414d348c32
      https://github.com/llvm/llvm-project/commit/fd68fe73c8bebd034dab52d82f0ed4414d348c32
  Author: Justin Lebar <justin.lebar at gmail.com>
  Date:   2026-06-05 (Fri, 05 Jun 2026)

  Changed paths:
    M llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
    M llvm/test/Transforms/DFAJumpThreading/dfa-jump-threading-transform.ll

  Log Message:
  -----------
  [DFAJumpThreading] Clone noalias scopes when duplicating a block (#200620)

cloneBlockAndUpdatePredecessor cloned the block but not its noalias scope
declarations, so duplicated paths shared the same scope MDNodes and AA could
treat aliasing accesses on different paths as noalias.

Give each clone fresh scopes, like JumpThreading/LoopUnroll/LoopPeel.



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