[PATCH] D156539: [Clang][CodeGen] `__builtin_alloca`s should care about address spaces too

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 31 09:10:15 PDT 2023


arsenm added inline comments.


================
Comment at: clang/test/CodeGen/dynamic-alloca-with-address-space.c:1
+// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -emit-llvm %s -o - | FileCheck %s
+
----------------
AlexVlx wrote:
> arsenm wrote:
> > Can you add an opencl 1.2 and 2.0 run line too
> This is not valid 1.2 code, for 2.0 sure.
well also need a 1.2 flavored version then with the __privates in it (or use some macro trickery)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156539/new/

https://reviews.llvm.org/D156539



More information about the cfe-commits mailing list