[all-commits] [llvm/llvm-project] 4b6bd1: [LoopSimplifyCFG] Clear SCEV dispositions when rem...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Oct 10 10:09:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b6bd1c9d56909b3f25b8dc3ea5b49e0b32d107a
      https://github.com/llvm/llvm-project/commit/4b6bd1c9d56909b3f25b8dc3ea5b49e0b32d107a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-10-10 (Mon, 10 Oct 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
    A llvm/test/Transforms/LoopSimplifyCFG/invalidate-scev-dispositions-2.ll

  Log Message:
  -----------
  [LoopSimplifyCFG] Clear SCEV dispositions when removing dead blocks.

When removing loops & blocks we also need to clear the SCEV dispositions
as they may now contain incorrect values.

Fixes #58262.




More information about the All-commits mailing list