DaniilSuchkov
DaniilSuchkov
mentioned in issue llvm/llvm-bugzilla-archive#44320
Just avoiding CSE when flags mismatch will disable optimization for cases like this: %1 = add nuw %a, %b %2 = add %a, %b
I'm not really familiar with EarlyCSE yet, but is there a reason why we can't remove all users of the instruction being changed from AvailableValues and add them back once...
Fixed by https://reviews.llvm.org/rGb0761bbc7639d0901d623e1fbf53ccf6ce066b16
Fixed by https://reviews.llvm.org/rGc4d8c6319f576a7540017168db2f0440691914f4
Here's an attempt to fix it: https://reviews.llvm.org/D70593
assigned to @DaniilSuchkov
Fixed by: commit 4a8dbc617d0b28ce2ce3e6856376b3802409554e Author: Daniil Suchkov Date: Tue Jan 21 12:21:53 2020 +0700 [SSAUpdater] Don't call ValueIsRAUWd upon single use replacement It is incorrect to call ValueHandleBase::ValueIsRAUWd when only...
> I'm sorry, I only saw this now. > > We already switched LICM to use MemorySSA, and only build an AliasSetTracker > for the promoteToScalars step, and do *not*...
An attempt to fix is up for review: https://reviews.llvm.org/D72905