aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2022-05-02 09:21:39 -0700
committerArthur Eubanks <aeubanks@google.com>2022-05-02 09:43:20 -0700
commitb07aab8fc1088ef66ecbe2befc3ef7e3936a390e (patch)
tree49d1b96159b87f8f093ece8d5f886c37a4a1831b /clang/lib/Frontend/CompilerInvocation.cpp
parent46cc04de341bceef319144fa11b0d421d29c5451 (diff)
downloadllvm-b07aab8fc1088ef66ecbe2befc3ef7e3936a390e.zip
llvm-b07aab8fc1088ef66ecbe2befc3ef7e3936a390e.tar.gz
llvm-b07aab8fc1088ef66ecbe2befc3ef7e3936a390e.tar.bz2
[GlobalOpt] Iterate over replaced values deterministically to constprop
If there are pre-existing dead instructions, the order we visit replaced values can cause us sometimes to not delete dead instructions. The added test non-deterministically failed without the change.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions