[llvm] [AMDGPU] Suppress DataLayout warnings after recent change (PR #163644)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 16 07:51:18 PDT 2025


jhuber6 wrote:

> > > Generally we just update the four .ll files in the device library. Are there other libraries we're concerned about now where a warning wouldn't be desired?
> > 
> > 
> > It's all the files with a data layout, and if we changed this I suppose there should be auto-upgrade anyway.
> 
> Aren't there only 4 files? Isn't the warning a good thing in general?

OpenMP currently uses these, HIP has `ockl` in addition I believe.
```
 "-mlink-builtin-bitcode" "/opt/rocm/amdgcn/bitcode/ocml.bc"
 "-mlink-builtin-bitcode" "/opt/rocm/amdgcn/bitcode/oclc_daz_opt_off.bc"
 "-mlink-builtin-bitcode" "/opt/rocm/amdgcn/bitcode/oclc_unsafe_math_off.bc"
 "-mlink-builtin-bitcode" "/opt/rocm/amdgcn/bitcode/oclc_finite_only_off.bc"
 "-mlink-builtin-bitcode" "/opt/rocm/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc"
 "-mlink-builtin-bitcode" "/opt/rocm/amdgcn/bitcode/oclc_wavefrontsize64_off.bc"
 "-mlink-builtin-bitcode" "/opt/rocm/amdgcn/bitcode/oclc_isa_version_1030.bc"
 "-mlink-builtin-bitcode" "/opt/rocm/amdgcn/bitcode/oclc_abi_version_600.bc"
```

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


More information about the llvm-commits mailing list