[all-commits] [llvm/llvm-project] caa730: [OpenCL] Restore addrspacecast for pipe builtins (...
Sven van Haastregt via All-commits
all-commits at lists.llvm.org
Wed Oct 16 04:58:34 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: caa7301bc8081bfaf8fc9f3644d558d336038c43
https://github.com/llvm/llvm-project/commit/caa7301bc8081bfaf8fc9f3644d558d336038c43
Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
Date: 2024-10-16 (Wed, 16 Oct 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGenOpenCL/pipe_builtin.cl
Log Message:
-----------
[OpenCL] Restore addrspacecast for pipe builtins (#112514)
Commit 84ee629bc515 ("clang: Remove some pointer bitcasts (#112324)",
2024-10-15) triggered some "Call parameter type does not match function
signature!" errors when using the OpenCL pipe builtin functions under
the spir triple, due to a missing addrspacecast.
This would have been caught by the pipe_builtin.cl test if that had used
the `spir-unknown-unknown` triple, so extend the test to use that
triple too.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list