[llvm] [AMDGPU] Re-enable closed-world assumption as an opt-out feature (PR #115371)

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 16:07:50 PST 2024


jdoerfert wrote:

[Re opt-in]
Sure, let's make this off by default and add a driver/cc1 flag that users and offloading languages that define this as default can set.

> I think this should also check functions reference in `llvm.global_ctors` as used.

I don't know what this is supposed to mean. Who checks llvm.global_ctors? The driver?
The pass?

The former cannot, and the latter will analyzes uses and act on the flag as defined, I don't see how that interacts with llvm.global_ctors.


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


More information about the llvm-commits mailing list