Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

AlexVlx (Alex Voicu)
User

Projects

User does not belong to any projects.

User Details

User Since
Nov 9 2017, 10:58 AM (306 w, 10 h)

Recent Activity

Tue, Sep 19

AlexVlx updated the diff for D155775: [HIP][Clang][Driver][RFC] Add driver support for C++ Parallel Algorithm Offload.

Use correct flag naming.

Tue, Sep 19, 12:59 PM · Restricted Project, Restricted Project, Restricted Project
AlexVlx updated the diff for D155769: [HIP][Clang][docs][RFC] Add documentation for C++ Parallel Algorithm Offload.

Rebase.

Tue, Sep 19, 10:05 AM · Restricted Project, Restricted Project, Restricted Project
AlexVlx added a comment to D155775: [HIP][Clang][Driver][RFC] Add driver support for C++ Parallel Algorithm Offload.

Gentle ping.

Tue, Sep 19, 7:52 AM · Restricted Project, Restricted Project, Restricted Project

Wed, Sep 13

AlexVlx updated the diff for D155856: [HIP][LLVM][Opt][RFC] Add LLVM support for C++ Parallel Algorithm Offload.

Use correct capitalisation in helper.

Wed, Sep 13, 9:41 AM · Restricted Project, Restricted Project, Restricted Project

Tue, Sep 12

AlexVlx added inline comments to D155769: [HIP][Clang][docs][RFC] Add documentation for C++ Parallel Algorithm Offload.
Tue, Sep 12, 5:06 PM · Restricted Project, Restricted Project, Restricted Project
AlexVlx updated the diff for D155769: [HIP][Clang][docs][RFC] Add documentation for C++ Parallel Algorithm Offload.

Address review feedback around explicit use of std::.

Tue, Sep 12, 5:06 PM · Restricted Project, Restricted Project, Restricted Project
AlexVlx added inline comments to D155856: [HIP][LLVM][Opt][RFC] Add LLVM support for C++ Parallel Algorithm Offload.
Tue, Sep 12, 4:24 PM · Restricted Project, Restricted Project, Restricted Project
AlexVlx added a comment to D155856: [HIP][LLVM][Opt][RFC] Add LLVM support for C++ Parallel Algorithm Offload.

Are these passes called when compiling C++ to bitcode? If so, then device functions not called by kernels in the same module will be removed, right? Then we cannot support calling device functions in a different TU. Should these passes be moved to the llvm codegen pipelines so that they will only be called post-linking?

Tue, Sep 12, 4:15 PM · Restricted Project, Restricted Project, Restricted Project

Sun, Sep 10

AlexVlx updated the diff for D155769: [HIP][Clang][docs][RFC] Add documentation for C++ Parallel Algorithm Offload.

Fix some wording to further clarify this is an HIP + AMDGPU exclusive extension.

Sun, Sep 10, 8:03 AM · Restricted Project, Restricted Project, Restricted Project

Fri, Sep 1

AlexVlx added a reviewer for D155856: [HIP][LLVM][Opt][RFC] Add LLVM support for C++ Parallel Algorithm Offload: JonChesterfield.
Fri, Sep 1, 11:56 AM · Restricted Project, Restricted Project, Restricted Project
AlexVlx updated the diff for D155769: [HIP][Clang][docs][RFC] Add documentation for C++ Parallel Algorithm Offload.

Correctly reflect AMDGPU-only nature of the extension.

Fri, Sep 1, 11:56 AM · Restricted Project, Restricted Project, Restricted Project

Mon, Aug 28

AlexVlx committed rG9c760ca8ecfd: [Clang][CodeGen] `typeid` needs special care when `type_info` is not in the… (authored by AlexVlx).
[Clang][CodeGen] `typeid` needs special care when `type_info` is not in the…
Mon, Aug 28, 12:44 PM · Restricted Project, Restricted Project
AlexVlx closed D157452: [RFC][Clang][Codegen] `std::type_info` needs special care with explicit address spaces.
Mon, Aug 28, 12:44 PM · Restricted Project, Restricted Project

Sun, Aug 27

AlexVlx added a reviewer for D155850: [HIP][Clang][CodeGen][RFC] Add codegen support for C++ Parallel Algorithm Offload: jhuber6.
Sun, Aug 27, 3:43 PM · Restricted Project, Restricted Project
AlexVlx added a reviewer for D155856: [HIP][LLVM][Opt][RFC] Add LLVM support for C++ Parallel Algorithm Offload: jhuber6.
Sun, Aug 27, 2:28 PM · Restricted Project, Restricted Project, Restricted Project
AlexVlx updated the diff for D155769: [HIP][Clang][docs][RFC] Add documentation for C++ Parallel Algorithm Offload.

Add back clarification about RDC.

Sun, Aug 27, 10:00 AM · Restricted Project, Restricted Project, Restricted Project
AlexVlx updated the diff for D155769: [HIP][Clang][docs][RFC] Add documentation for C++ Parallel Algorithm Offload.

Fix typo, add release notes reflecting the HIP-only nature.

Sun, Aug 27, 9:56 AM · Restricted Project, Restricted Project, Restricted Project

Wed, Aug 23

AlexVlx updated the diff for D155826: [HIP][Clang][Preprocessor][RFC] Add preprocessor support for C++ Parallel Algorithm Offload.

Define the interpose macro iff in interpose mode.

Wed, Aug 23, 6:58 PM · Restricted Project, Restricted Project
AlexVlx added a comment to D157452: [RFC][Clang][Codegen] `std::type_info` needs special care with explicit address spaces.

Gentle ping.

Wed, Aug 23, 10:30 AM · Restricted Project, Restricted Project
AlexVlx updated the diff for D155769: [HIP][Clang][docs][RFC] Add documentation for C++ Parallel Algorithm Offload.

Remove noise.

Wed, Aug 23, 9:43 AM · Restricted Project, Restricted Project, Restricted Project
AlexVlx updated the diff for D155769: [HIP][Clang][docs][RFC] Add documentation for C++ Parallel Algorithm Offload.

Update per review comments.

Wed, Aug 23, 9:26 AM · Restricted Project, Restricted Project, Restricted Project
AlexVlx updated the diff for D155775: [HIP][Clang][Driver][RFC] Add driver support for C++ Parallel Algorithm Offload.

Use --hipstdpar instead of -hipstdpar in the test.

Wed, Aug 23, 8:45 AM · Restricted Project, Restricted Project, Restricted Project
AlexVlx updated the diff for D155856: [HIP][LLVM][Opt][RFC] Add LLVM support for C++ Parallel Algorithm Offload.

Updating this to reflect the outcome of the RFC, which is that we're adding it as a HIP extension exclusively. Added support for handling thread_local, which is unsupported.

Wed, Aug 23, 6:15 AM · Restricted Project, Restricted Project, Restricted Project

Aug 22 2023

AlexVlx retitled D155850: [HIP][Clang][CodeGen][RFC] Add codegen support for C++ Parallel Algorithm Offload from [Clang][CodeGen][RFC] Add codegen support for C++ Parallel Algorithm Offload to [HIP][Clang][CodeGen][RFC] Add codegen support for C++ Parallel Algorithm Offload.
Aug 22 2023, 7:20 PM · Restricted Project, Restricted Project
AlexVlx updated the diff for D155850: [HIP][Clang][CodeGen][RFC] Add codegen support for C++ Parallel Algorithm Offload.

Updating to reflect the outcome of the RFC, which is that this will be added as a HIP extension exclusively.

Aug 22 2023, 7:19 PM · Restricted Project, Restricted Project
AlexVlx updated the diff for D155833: [HIP][Clang][Sema][RFC] Add Sema support for C++ Parallel Algorithm Offload.

Updating this to reflect the outcome of the RFC, which is that it will be added as a HIP extension exclusively.

Aug 22 2023, 6:50 PM · Restricted Project, Restricted Project
AlexVlx updated the diff for D155826: [HIP][Clang][Preprocessor][RFC] Add preprocessor support for C++ Parallel Algorithm Offload.

Updating this to reflect the outcome of the RFC, which is that this will be added as a HIP extension exclusively.

Aug 22 2023, 6:40 PM · Restricted Project, Restricted Project
AlexVlx updated the diff for D155775: [HIP][Clang][Driver][RFC] Add driver support for C++ Parallel Algorithm Offload.

Updating this to reflect the outcome of the RFC, which is that this will be added as a HIP extension exclusively.

Aug 22 2023, 6:28 PM · Restricted Project, Restricted Project, Restricted Project
AlexVlx updated the diff for D155769: [HIP][Clang][docs][RFC] Add documentation for C++ Parallel Algorithm Offload.

Updating this to reflect the outcome of the RFC, which is that this shall be a HIP only extension. As such, documentation lives within the HIP Support master document; the other patches in the series will be updated accordingly.

Aug 22 2023, 6:03 PM · Restricted Project, Restricted Project, Restricted Project

Aug 17 2023

AlexVlx updated the diff for D155856: [HIP][LLVM][Opt][RFC] Add LLVM support for C++ Parallel Algorithm Offload.

Add handling of thread_local variables that are used by accelerator reachable functions: since this is currently unsupported, we error out with as tidy a diagnostic as possible.

Aug 17 2023, 3:29 PM · Restricted Project, Restricted Project, Restricted Project

Aug 15 2023

AlexVlx updated the diff for D157452: [RFC][Clang][Codegen] `std::type_info` needs special care with explicit address spaces.

Remove unneeded cast, the dynamic case already emitted a generic pointer to typeinfo

Aug 15 2023, 3:59 PM · Restricted Project, Restricted Project
AlexVlx updated the diff for D155833: [HIP][Clang][Sema][RFC] Add Sema support for C++ Parallel Algorithm Offload.

Update test.

Aug 15 2023, 10:40 AM · Restricted Project, Restricted Project
AlexVlx accepted D157917: clang/HIP: Use abs builtins instead of implementing them.

LGTM, thanks.

Aug 15 2023, 8:14 AM · Restricted Project
AlexVlx added inline comments to D157452: [RFC][Clang][Codegen] `std::type_info` needs special care with explicit address spaces.
Aug 15 2023, 7:03 AM · Restricted Project, Restricted Project
AlexVlx added a comment to D157452: [RFC][Clang][Codegen] `std::type_info` needs special care with explicit address spaces.

The path of least resistance here is that IRGen should just insert conversions from the global AS to the default AS as part of evaluating typeid. I haven't looked at it closely, but that seems to be what this patch is doing.

However, std::type_info is an interesting special case in that we actually know statically that all objects of that type will be allocated in the global AS, so there's really no reason to pass around pointers in the default AS; std::type_info * should just default to being in the global AS. It'd be a non-trivial feature in support of a somewhat uncommonly-used C++ feature, and I can't tell how best to spend your time, *but*... if you're so inclined, I think it would make a somewhat compelling feature to be able to declare a default AS for a class type, which your target could then adopt in the headers for std::type_info.

Aug 15 2023, 6:57 AM · Restricted Project, Restricted Project
AlexVlx updated the diff for D157452: [RFC][Clang][Codegen] `std::type_info` needs special care with explicit address spaces.

Rework the patch as the proposed approach was unsound; keep typeid generic.

Aug 15 2023, 6:53 AM · Restricted Project, Restricted Project

Aug 10 2023

AlexVlx updated the diff for D155856: [HIP][LLVM][Opt][RFC] Add LLVM support for C++ Parallel Algorithm Offload.

Add support for handling incompatible ASM.

Aug 10 2023, 2:06 PM · Restricted Project, Restricted Project, Restricted Project
AlexVlx updated the diff for D155850: [HIP][Clang][CodeGen][RFC] Add codegen support for C++ Parallel Algorithm Offload.

Switch to __ASM prefix.

Aug 10 2023, 1:52 PM · Restricted Project, Restricted Project
AlexVlx updated the diff for D155833: [HIP][Clang][Sema][RFC] Add Sema support for C++ Parallel Algorithm Offload.

Fix typo.

Aug 10 2023, 11:16 AM · Restricted Project, Restricted Project
AlexVlx updated the diff for D155833: [HIP][Clang][Sema][RFC] Add Sema support for C++ Parallel Algorithm Offload.

Remove noise / unintended file. Add support for dealing with unsupported ASM.

Aug 10 2023, 11:10 AM · Restricted Project, Restricted Project
AlexVlx updated the diff for D155850: [HIP][Clang][CodeGen][RFC] Add codegen support for C++ Parallel Algorithm Offload.

Fix typo.

Aug 10 2023, 10:47 AM · Restricted Project, Restricted Project
AlexVlx updated the diff for D155850: [HIP][Clang][CodeGen][RFC] Add codegen support for C++ Parallel Algorithm Offload.

Add support for handling certain cases of unambiguously accelerator unsupported ASM i.e. cases where constraints are clearly mismatched. When that happens, we instead emit an ASM__stdpar_unsupported stub which takes as its single argument the constexpr string value of the ASM block. Later, in the AcceleratorCodeSelection pass, if such a stub is reachable from an accelerator callable, we error out and print the offending ASM alongside the location.

Aug 10 2023, 10:44 AM · Restricted Project, Restricted Project

Aug 9 2023

AlexVlx added a comment to D157452: [RFC][Clang][Codegen] `std::type_info` needs special care with explicit address spaces.

It is a little concerning how far the global address will spread further. Compared to handling user-defined global variables, we keep the global address to its definition in the IR and any use of it will use the generic pointer addrcasted from its definition. This simplifies things a lot since the AST is not aware of the global address. Should we reconsider the handling of type id and type info here with a similar approach to how the user-defined global variables are handled? Or we are confident that the effect of global address can be confined.

Aug 9 2023, 8:13 AM · Restricted Project, Restricted Project

Aug 8 2023

AlexVlx requested review of D157452: [RFC][Clang][Codegen] `std::type_info` needs special care with explicit address spaces.
Aug 8 2023, 4:17 PM · Restricted Project, Restricted Project
AlexVlx added a comment to D155850: [HIP][Clang][CodeGen][RFC] Add codegen support for C++ Parallel Algorithm Offload.

LGTM (but please don't merge until we reach consensus on the overall feature)

Aug 8 2023, 11:48 AM · Restricted Project, Restricted Project

Aug 7 2023

AlexVlx updated the diff for D155850: [HIP][Clang][CodeGen][RFC] Add codegen support for C++ Parallel Algorithm Offload.

Extend handling of unsupported builtins to include dealing with the target attribute.

Aug 7 2023, 6:40 PM · Restricted Project, Restricted Project

Aug 6 2023

AlexVlx added inline comments to D155769: [HIP][Clang][docs][RFC] Add documentation for C++ Parallel Algorithm Offload.
Aug 6 2023, 6:21 AM · Restricted Project, Restricted Project, Restricted Project
AlexVlx updated the diff for D155769: [HIP][Clang][docs][RFC] Add documentation for C++ Parallel Algorithm Offload.

Remove confusing guidance around mGPU.

Aug 6 2023, 6:19 AM · Restricted Project, Restricted Project, Restricted Project
AlexVlx updated the diff for D155775: [HIP][Clang][Driver][RFC] Add driver support for C++ Parallel Algorithm Offload.
Aug 6 2023, 6:08 AM · Restricted Project, Restricted Project, Restricted Project

Aug 3 2023

AlexVlx updated the diff for D155856: [HIP][LLVM][Opt][RFC] Add LLVM support for C++ Parallel Algorithm Offload.

Update diff, handling of globals was wrong in that it'd mess up extern __shared__ cases.

Aug 3 2023, 4:07 PM · Restricted Project, Restricted Project, Restricted Project
AlexVlx updated the diff for D155850: [HIP][Clang][CodeGen][RFC] Add codegen support for C++ Parallel Algorithm Offload.

Remove noise, correct style.

Aug 3 2023, 3:32 PM · Restricted Project, Restricted Project
AlexVlx committed rG7240008c0afa: [Clang][CodeGen] `__dynamic_cast` should care about `type_info`'s address space (authored by AlexVlx).
[Clang][CodeGen] `__dynamic_cast` should care about `type_info`'s address space
Aug 3 2023, 3:26 PM · Restricted Project, Restricted Project
AlexVlx closed D155870: [Clang][CodeGen] Another follow-up for `vtable`, `typeinfo` et al. are globals.
Aug 3 2023, 3:26 PM · Restricted Project, Restricted Project
AlexVlx updated the diff for D155870: [Clang][CodeGen] Another follow-up for `vtable`, `typeinfo` et al. are globals.

Rebase.

Aug 3 2023, 9:54 AM · Restricted Project, Restricted Project

Aug 2 2023

AlexVlx added inline comments to D155850: [HIP][Clang][CodeGen][RFC] Add codegen support for C++ Parallel Algorithm Offload.
Aug 2 2023, 6:44 PM · Restricted Project, Restricted Project

Aug 1 2023

AlexVlx added a comment to D155870: [Clang][CodeGen] Another follow-up for `vtable`, `typeinfo` et al. are globals.

Ping?

Aug 1 2023, 2:06 PM · Restricted Project, Restricted Project
AlexVlx committed rG51a014cb2d9c: [Clang][CodeGen] `__builtin_alloca`s should care about address spaces (authored by AlexVlx).
[Clang][CodeGen] `__builtin_alloca`s should care about address spaces
Aug 1 2023, 1:56 PM · Restricted Project, Restricted Project
AlexVlx closed D156539: [Clang][CodeGen] `__builtin_alloca`s should care about address spaces too.
Aug 1 2023, 1:55 PM · Restricted Project, Restricted Project
AlexVlx added a comment to D156713: [AMDGPU] Add target features for GDS and GWS.

Do we want a separate GWS feature? Or a combined "hasGDSAndGWS" feature?

We do need a feature that include GWS. GDS was dropped before GWS in GFX9, but compute never used GDS. So GDSandGWS would probably work.

I didn't realize GDS was dropped in gfx9, should split the two then

Sorry for mangling this. GDS was dropped in gfx90a. GWS was not dropped in gfx9.

What about gfx909 and gfx90c?

In the current patch I have assumed gfx908 and gfx909 both have GDS, and gfx90a and gfx90c (and gfx94x) lack it.

Aug 1 2023, 3:32 AM · Restricted Project, Restricted Project

Jul 31 2023

AlexVlx added inline comments to D156539: [Clang][CodeGen] `__builtin_alloca`s should care about address spaces too.
Jul 31 2023, 5:47 PM · Restricted Project, Restricted Project
AlexVlx updated the diff for D156539: [Clang][CodeGen] `__builtin_alloca`s should care about address spaces too.

Use pointee's address space for the check.

Jul 31 2023, 5:46 PM · Restricted Project, Restricted Project
AlexVlx updated the diff for D156539: [Clang][CodeGen] `__builtin_alloca`s should care about address spaces too.

Address review comments.

Jul 31 2023, 4:28 PM · Restricted Project, Restricted Project
AlexVlx added a comment to D156539: [Clang][CodeGen] `__builtin_alloca`s should care about address spaces too.

We should probably write this code to work properly in case we add a target that makes __builtin_alloca return a pointer in the private address space. Could you recover the target AS from the type of the expression instead of assuming LangAS::Default?

I believe it should work as written (it is possible that I misunderstand the objection, case in which I do apologise). The issue is precisely that for some targets (amdgcn being one) alloca returns a pointer to private, which doesn't compose with the default AS being unspecified / nonexistent, for some languages (e.g. HIP, C/C++ etc.). For the OCL case @arsenm mentions, I believe that we make a choice based on LangOpts.OpenCLGenericAddressSpace, and the code above would only be valid from the OCL language perspective iff that is true. I've put together a short Godbolt that captures these (and the bug the patch should fix, please see the bitcasts between ASes in the non-OCL case): https://gcc.godbolt.org/z/sYGK76zqv.

An address space conversion is required in IR if there is a difference between the address space of the pointer type formally returned by the call to __builtin_alloca and the address space produced by the alloca operation in IR. If Sema has set the type of __builtin_alloca to formally return something in the stack address space, no conversion is required. What I'm saying that I'd like you to not directly refer to LangAS::Default in this code, because you're assuming that __builtin_alloca is always returning a pointer that's formally in LangAS::Default. Please recover the target address space from the type of the expression.

Additionally, in IRGen we allow the target to hook address-space conversions; please call performAddrSpaceCast instead of directly emitting an addrspacecast instruction.

Jul 31 2023, 1:14 PM · Restricted Project, Restricted Project
AlexVlx added inline comments to D156539: [Clang][CodeGen] `__builtin_alloca`s should care about address spaces too.
Jul 31 2023, 9:09 AM · Restricted Project, Restricted Project
AlexVlx updated the diff for D156539: [Clang][CodeGen] `__builtin_alloca`s should care about address spaces too.

Incorporated review feedback. Updated test.

Jul 31 2023, 8:25 AM · Restricted Project, Restricted Project
AlexVlx added a comment to D156539: [Clang][CodeGen] `__builtin_alloca`s should care about address spaces too.

We should probably write this code to work properly in case we add a target that makes __builtin_alloca return a pointer in the private address space. Could you recover the target AS from the type of the expression instead of assuming LangAS::Default?

Jul 31 2023, 7:13 AM · Restricted Project, Restricted Project

Jul 28 2023

AlexVlx requested review of D156539: [Clang][CodeGen] `__builtin_alloca`s should care about address spaces too.
Jul 28 2023, 7:03 AM · Restricted Project, Restricted Project

Jul 27 2023

AlexVlx updated the diff for D155775: [HIP][Clang][Driver][RFC] Add driver support for C++ Parallel Algorithm Offload.

Exploit the fact that ROCm/AMDGPU does LTCG at the moment and for the foreseeable future by moving the accelerator code selection pass to later.

Jul 27 2023, 4:03 PM · Restricted Project, Restricted Project, Restricted Project
AlexVlx updated the diff for D155856: [HIP][LLVM][Opt][RFC] Add LLVM support for C++ Parallel Algorithm Offload.

Add support for dealing with builtins that are unavailable on the target.

Jul 27 2023, 3:45 PM · Restricted Project, Restricted Project, Restricted Project
AlexVlx updated the diff for D155850: [HIP][Clang][CodeGen][RFC] Add codegen support for C++ Parallel Algorithm Offload.

This adds more ecumenical handling of unsupported builtins, as per the review discussion (a suffixed equivalent stub is emitted instead); it's paired with an associated change in accelerator code selection pass, where the actual check for these stubs occurs. I've also adjusted where the latter pass gets added to the opt pipeline, for the AMDGCN target; for the latter it's better, for the moment, to run it later because we essentially do LTCG, and therefore can unambiguously determine reachability by operating on the full module.

Jul 27 2023, 3:30 PM · Restricted Project, Restricted Project
AlexVlx added a comment to D155870: [Clang][CodeGen] Another follow-up for `vtable`, `typeinfo` et al. are globals.

Ping @rjmccall or @efriedma for a non AMD perspective, if possible.

Jul 27 2023, 11:06 AM · Restricted Project, Restricted Project

Jul 26 2023

AlexVlx added a comment to D155870: [Clang][CodeGen] Another follow-up for `vtable`, `typeinfo` et al. are globals.

__dynamic_cast is part of standard C++ library. If we ever implement it for GPU, chances are we will use libc++abi with the same signature as other targets, i.e., the 2nd and 3rd arguments are generic pointers.

I feel it is safer to do an address space cast when calling the function instead of changing its signature.

Jul 26 2023, 10:38 AM · Restricted Project, Restricted Project
AlexVlx added a comment to D155870: [Clang][CodeGen] Another follow-up for `vtable`, `typeinfo` et al. are globals.

Gentle ping.

Jul 26 2023, 5:40 AM · Restricted Project, Restricted Project
AlexVlx updated the diff for D155870: [Clang][CodeGen] Another follow-up for `vtable`, `typeinfo` et al. are globals.

Rebase.

Jul 26 2023, 5:39 AM · Restricted Project, Restricted Project

Jul 21 2023

AlexVlx added a comment to D155850: [HIP][Clang][CodeGen][RFC] Add codegen support for C++ Parallel Algorithm Offload.

@yaxunl interesting point - are you worried about cases where due to missing inlining / const prop an indirect call site that can be replaced with a direct one would remain indirect? I think the problem in that case would actually be different, in that possibly reachable functions would not be identified as such and would be erroneously removed. I'm not sure there's any case where we'd fail to remove a meant to be unreachable function. We can definitely go with the __clang_unsupported approach, but I think I'd prefer these to be compile time errors rather than remarks + runtime printf, not in the least because printf adds some overhead. A way to ensure we don't "miss a spot" might be to check after removal for any remaining unsupported builtins, instead of doing it during reachability computation (this is coupled with the special naming from the prior post).

Jul 21 2023, 9:13 AM · Restricted Project, Restricted Project
AlexVlx added inline comments to D155850: [HIP][Clang][CodeGen][RFC] Add codegen support for C++ Parallel Algorithm Offload.
Jul 21 2023, 5:25 AM · Restricted Project, Restricted Project

Jul 20 2023

AlexVlx added inline comments to D155850: [HIP][Clang][CodeGen][RFC] Add codegen support for C++ Parallel Algorithm Offload.
Jul 20 2023, 2:08 PM · Restricted Project, Restricted Project
AlexVlx requested review of D155870: [Clang][CodeGen] Another follow-up for `vtable`, `typeinfo` et al. are globals.
Jul 20 2023, 10:54 AM · Restricted Project, Restricted Project
AlexVlx added a reviewer for D155769: [HIP][Clang][docs][RFC] Add documentation for C++ Parallel Algorithm Offload: erichkeane.
Jul 20 2023, 9:25 AM · Restricted Project, Restricted Project, Restricted Project
AlexVlx requested review of D155856: [HIP][LLVM][Opt][RFC] Add LLVM support for C++ Parallel Algorithm Offload.
Jul 20 2023, 9:24 AM · Restricted Project, Restricted Project, Restricted Project
AlexVlx requested review of D155850: [HIP][Clang][CodeGen][RFC] Add codegen support for C++ Parallel Algorithm Offload.
Jul 20 2023, 8:25 AM · Restricted Project, Restricted Project
AlexVlx requested review of D155833: [HIP][Clang][Sema][RFC] Add Sema support for C++ Parallel Algorithm Offload.
Jul 20 2023, 6:07 AM · Restricted Project, Restricted Project
AlexVlx updated the summary of D155826: [HIP][Clang][Preprocessor][RFC] Add preprocessor support for C++ Parallel Algorithm Offload.
Jul 20 2023, 5:48 AM · Restricted Project, Restricted Project
AlexVlx requested review of D155826: [HIP][Clang][Preprocessor][RFC] Add preprocessor support for C++ Parallel Algorithm Offload.
Jul 20 2023, 5:37 AM · Restricted Project, Restricted Project
AlexVlx added reviewers for D155769: [HIP][Clang][docs][RFC] Add documentation for C++ Parallel Algorithm Offload: bader, tra, Anastasia.
Jul 20 2023, 4:56 AM · Restricted Project, Restricted Project, Restricted Project

Jul 19 2023

AlexVlx updated the diff for D155775: [HIP][Clang][Driver][RFC] Add driver support for C++ Parallel Algorithm Offload.

Removed some accidental noise.

Jul 19 2023, 8:23 PM · Restricted Project, Restricted Project, Restricted Project
AlexVlx requested review of D155775: [HIP][Clang][Driver][RFC] Add driver support for C++ Parallel Algorithm Offload.
Jul 19 2023, 8:20 PM · Restricted Project, Restricted Project, Restricted Project
AlexVlx requested review of D155769: [HIP][Clang][docs][RFC] Add documentation for C++ Parallel Algorithm Offload.
Jul 19 2023, 6:59 PM · Restricted Project, Restricted Project, Restricted Project
AlexVlx committed rGf385abf131e0: [Clang][CodeGen] Follow-up for `vtable`, `typeinfo` et al. are globals (authored by AlexVlx).
[Clang][CodeGen] Follow-up for `vtable`, `typeinfo` et al. are globals
Jul 19 2023, 3:58 PM · Restricted Project, Restricted Project
AlexVlx closed D155759: [Clang][CodeGen] Follow-up for `vtable`, `typeinfo` et al. are globals.
Jul 19 2023, 3:58 PM · Restricted Project, Restricted Project
AlexVlx requested review of D155759: [Clang][CodeGen] Follow-up for `vtable`, `typeinfo` et al. are globals.
Jul 19 2023, 3:10 PM · Restricted Project, Restricted Project
AlexVlx added inline comments to D153092: [Clang][CodeGen]`vtable`, `typeinfo` et al. are globals.
Jul 19 2023, 1:15 PM · Restricted Project, Restricted Project
AlexVlx committed rG8acdcf401687: [Clang][CodeGen]`vtable`, `typeinfo` et al. are globals (authored by AlexVlx).
[Clang][CodeGen]`vtable`, `typeinfo` et al. are globals
Jul 19 2023, 10:06 AM · Restricted Project, Restricted Project
AlexVlx closed D153092: [Clang][CodeGen]`vtable`, `typeinfo` et al. are globals.
Jul 19 2023, 10:05 AM · Restricted Project, Restricted Project
AlexVlx updated the diff for D153092: [Clang][CodeGen]`vtable`, `typeinfo` et al. are globals.

Rebase.

Jul 19 2023, 9:55 AM · Restricted Project, Restricted Project

Jul 13 2023

AlexVlx added a comment to D153092: [Clang][CodeGen]`vtable`, `typeinfo` et al. are globals.

Ping.

Jul 13 2023, 8:28 AM · Restricted Project, Restricted Project

Jul 9 2023

AlexVlx updated the diff for D153092: [Clang][CodeGen]`vtable`, `typeinfo` et al. are globals.

Rebase.

Jul 9 2023, 8:24 AM · Restricted Project, Restricted Project

Jun 30 2023

AlexVlx added a comment to D153092: [Clang][CodeGen]`vtable`, `typeinfo` et al. are globals.

Thank you @yaxunl. @rjmccall / @efriedma any input on this? I'd like to try landing it next week to unblock some additional work. Thanks!

Jun 30 2023, 9:59 AM · Restricted Project, Restricted Project

Jun 27 2023

AlexVlx added a comment to D153092: [Clang][CodeGen]`vtable`, `typeinfo` et al. are globals.

This could be a good chance to switch VT to constant address space instead of global address space. AFAIK if a target has global addr space they usually also has constant addr space since they usually support OpenCL or CUDA/HIP. Is there any reason we cannot introduce a CGM.ConstantGlobalsInt8PtrTy and use it for VT instead?

Jun 27 2023, 6:01 AM · Restricted Project, Restricted Project

Jun 26 2023

AlexVlx added a comment to D153092: [Clang][CodeGen]`vtable`, `typeinfo` et al. are globals.

Fixed issue found via internal testing (thanks @yaxunl).

Can we add a test to cover the regression found via internal testing? Thanks.

Jun 26 2023, 11:35 AM · Restricted Project, Restricted Project