[PATCH] D106439: [OpenMP] Fold `__kmpc_is_generic_main_thread_id` if possible

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 21 07:42:48 PDT 2021


jdoerfert added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:3580
+    else
+      SimplifiedValue = nullptr;
+
----------------



================
Comment at: llvm/test/Transforms/OpenMP/fold_generic_main_thread.ll:39
+  ret void
+}
+
----------------
Shouldn't this be folded?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106439



More information about the llvm-commits mailing list