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

Alex Voicu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 31 09:09:16 PDT 2023


AlexVlx 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
+
----------------
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.


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

https://reviews.llvm.org/D156539



More information about the cfe-commits mailing list