[all-commits] [llvm/llvm-project] 84717a: [GlobalOpt] Fix dead const handling in pointer roo...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Mar 24 06:20:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 84717a78a3482a4d969c3e4fd9196f86a6870c7d
https://github.com/llvm/llvm-project/commit/84717a78a3482a4d969c3e4fd9196f86a6870c7d
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
M llvm/lib/Transforms/IPO/GlobalOpt.cpp
A llvm/test/Transforms/GlobalOpt/pr61674.ll
Log Message:
-----------
[GlobalOpt] Fix dead const handling in pointer root user cleanup (PR61674)
Rather than cleanup up dead constant expressions as we go along,
do this once at the end. This aligns it with the
CleanupConstantGlobalUsers() implementation and avoids
any invalidation issues.
Fixes https://github.com/llvm/llvm-project/issues/61674.
More information about the All-commits
mailing list