[llvm] [flang] [clang] [NFC][AMDGPU] Move address space enum to LLVM directory (PR #73944)
Sergio Afonso via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 30 07:15:30 PST 2023
================
@@ -405,9 +398,9 @@ class LLVM_LIBRARY_VISIBILITY AMDGPUTargetInfo final : public TargetInfo {
getDWARFAddressSpace(unsigned AddressSpace) const override {
const unsigned DWARF_Private = 1;
const unsigned DWARF_Local = 2;
- if (AddressSpace == Private) {
+ if (AddressSpace == llvm::AMDGPU::Private) {
----------------
skatrak wrote:
Nit: switch?
https://github.com/llvm/llvm-project/pull/73944
More information about the cfe-commits
mailing list