[flang-commits] [flang] [llvm] [flang][cuda] Mark cuf.device_is_active as a read-only query (PR #233987)

Zhen Wang via flang-commits flang-commits at lists.llvm.org
Tue Oct 20 14:54:13 PDT 2026


================
@@ -21,6 +21,9 @@
 
 namespace Fortran::runtime::cuda {
 
+// The compiler models the cuf.device_is_active query this backs as a read of
+// the context state and may erase an unused query, so this probe must stay
+// free of observable effects.
----------------
wangzpgi wrote:

Removed.

https://github.com/llvm/llvm-project/pull/233987


More information about the flang-commits mailing list