[PATCH] D153151: [EarlyCSE] Do not CSE convergent readnone calls

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 16 11:07:57 PDT 2023


foad added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/EarlyCSE.cpp:144
+             !CI->getFunction()->isPresplitCoroutine() &&
+             !CI->isConvergent();
     }
----------------
arsenm wrote:
> Maybe should be checking nosync instead?
How is that related?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153151/new/

https://reviews.llvm.org/D153151



More information about the llvm-commits mailing list