[PATCH] D67936: HotColdSplitting: invalidate the AssumptionCache on split

Aditya Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 23 15:20:34 PDT 2019


hiraditya added a comment.

Assumptions shouldn't change by optimization, code movement etc AFAICT. As Assumption cache doesn't currently have APIs to accomodate the changes caused by function splitting, invalidating the cache seems reasonable to me. If another pass requests for assumptions, they will be re-scanned, include/llvm/Analysis/AssumptionCache.h:132


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67936/new/

https://reviews.llvm.org/D67936





More information about the llvm-commits mailing list