[all-commits] [llvm/llvm-project] 907139: [GlobalDCE] Simplify and return Changed = true les...
Jay Foad via All-commits
all-commits at lists.llvm.org
Thu Feb 17 08:03:27 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9071393c18e5264e3bbf3ca3f3584fa5f45be6c2
https://github.com/llvm/llvm-project/commit/9071393c18e5264e3bbf3ca3f3584fa5f45be6c2
Author: Jay Foad <jay.foad at amd.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M llvm/lib/Transforms/IPO/GlobalDCE.cpp
Log Message:
-----------
[GlobalDCE] Simplify and return Changed = true less often
Removing dead constants should not count as making a change to the
module. This means that RemoveUnusedGlobalValue simplifies to just
calling removeDeadConstantUsers, so inline it.
Differential Revision: https://reviews.llvm.org/D120052
More information about the All-commits
mailing list