[all-commits] [llvm/llvm-project] 727635: [LSR] Clear SCEVExpander before calling DeleteDead...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Feb 22 13:50:43 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 72763521c34287bce68402eb2a9d71dcb4eed5a0
https://github.com/llvm/llvm-project/commit/72763521c34287bce68402eb2a9d71dcb4eed5a0
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2024-02-22 (Thu, 22 Feb 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
A llvm/test/Transforms/LoopStrengthReduce/RISCV/term-fold-crash.ll
Log Message:
-----------
[LSR] Clear SCEVExpander before calling DeleteDeadPHIs
To avoid an assertion failure when an AssertingVH is removed,
as reported in:
https://github.com/llvm/llvm-project/pull/82362#issuecomment-1960067147
Also remove an unnecessary use of SCEVExpanderCleaner.
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