[all-commits] [llvm/llvm-project] 378f4e: [AssumptionCache] Do not track llvm.assume calls (...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Sat Feb 6 10:18:49 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 378f4e5ec26c3e0d2119c1112ec645b369eed2de
      https://github.com/llvm/llvm-project/commit/378f4e5ec26c3e0d2119c1112ec645b369eed2de
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-02-06 (Sat, 06 Feb 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/AssumptionCache.h
    A llvm/test/Transforms/GVNSink/assumption.ll

  Log Message:
  -----------
  [AssumptionCache] Do not track llvm.assume calls (PR49043)

This fixes PR49043 by invalidating the handle on RAUW. This will work
fine assuming all existing RAUW users add the new assumption to the
cache. That means, if a new llvm.assume call replaces an old one, you
need to add the new one now as a RAUW is not enough anymore.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D96208




More information about the All-commits mailing list