[all-commits] [llvm/llvm-project] b07aab: [GlobalOpt] Iterate over replaced values determini...
aeubanks via All-commits
all-commits at lists.llvm.org
Mon May 2 09:44:26 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b07aab8fc1088ef66ecbe2befc3ef7e3936a390e
https://github.com/llvm/llvm-project/commit/b07aab8fc1088ef66ecbe2befc3ef7e3936a390e
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2022-05-02 (Mon, 02 May 2022)
Changed paths:
M llvm/lib/Transforms/IPO/GlobalOpt.cpp
A llvm/test/Transforms/GlobalOpt/malloc-promote-6.ll
Log Message:
-----------
[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.
More information about the All-commits
mailing list