[all-commits] [llvm/llvm-project] 4f32f5: [AA][JumpThreading] Don't use DomTree for AA in Ju...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jan 31 06:24:05 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f32f5d5720fbef06672714a62376f236a36aef5
      https://github.com/llvm/llvm-project/commit/4f32f5d5720fbef06672714a62376f236a36aef5
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/AliasAnalysis.h
    M llvm/include/llvm/Analysis/BasicAliasAnalysis.h
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp
    M llvm/test/Transforms/JumpThreading/pr79175.ll

  Log Message:
  -----------
  [AA][JumpThreading] Don't use DomTree for AA in JumpThreading (#79294)

JumpThreading may perform AA queries while the dominator tree is not up
to date, which may result in miscompilations.

Fix this by adding a new AAQI option to disable the use of the dominator
tree in BasicAA.

Fixes https://github.com/llvm/llvm-project/issues/79175.




More information about the All-commits mailing list