diff options
author | Jay Foad <jay.foad@amd.com> | 2022-02-17 14:17:36 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@amd.com> | 2022-02-17 16:03:13 +0000 |
commit | 9071393c18e5264e3bbf3ca3f3584fa5f45be6c2 (patch) | |
tree | bc1c6063ac089b5f1e2bf1a2f7f35b69287ea8b8 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 2f2dcb4fb134a7e06d99ef62ca512c8307187207 (diff) | |
download | llvm-9071393c18e5264e3bbf3ca3f3584fa5f45be6c2.zip llvm-9071393c18e5264e3bbf3ca3f3584fa5f45be6c2.tar.gz llvm-9071393c18e5264e3bbf3ca3f3584fa5f45be6c2.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions