[PATCH] D85604: SimplifyCFG: prevent certain transforms on convergent operations

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 11:36:11 PDT 2020


efriedma added inline comments.


================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:4474
+    if (CI->isConvergent())
+      return false;
+
----------------
I can't imagine a function that makes sense to mark both convergent and speculatable.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85604



More information about the llvm-commits mailing list