[llvm] [OFFLOAD] Stricter enforcement of user offload disable (PR #133470)

via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 28 12:24:18 PDT 2025


================
@@ -36,6 +36,8 @@ class OffloadPolicy {
       Kind = MANDATORY;
       return;
     default:
+      // User didn't specify a policy, decide
+      // based on number of devices discovered
----------------
adurang wrote:

It's just an additional commentary of what is going on. I can remove it but I don't think extra comments hurt.

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


More information about the llvm-commits mailing list