clang/OpenCL: Don't use a Function for the block type
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 11 Jan 2023 00:25:48 +0000 (19:25 -0500)
committerMatt Arsenault <arsenm2@gmail.com>
Mon, 30 Jan 2023 19:03:14 +0000 (15:03 -0400)
commit52c28d7cf9018f3558268217f6cf91271eb4ac39
treed1d6641296534471c77cef0102c1ff45b98c71b6
parent516ae48170df38d151a1ae5a83cd1f25011dcfa8
clang/OpenCL: Don't use a Function for the block type

The AMDGPU value for this is not really a function. Currently we're
emitting IR that isn't true to what will eventually be emitted.
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/CodeGen/CGOpenCLRuntime.cpp
clang/lib/CodeGen/CGOpenCLRuntime.h
clang/lib/CodeGen/TargetInfo.cpp
clang/lib/CodeGen/TargetInfo.h