diff options
author | Joseph Huber <huberjn@outlook.com> | 2025-07-02 07:03:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-02 07:03:11 -0500 |
commit | dea4f3213d84507ca9741faccab789f48c44e00d (patch) | |
tree | d3f3db3e0af92f1b1af06298c7c3a7af821eaa43 /clang/lib/Basic/SourceManager.cpp | |
parent | 5fe63ae9a3fb7502ce7ed076ea14def97d79e85e (diff) | |
download | llvm-dea4f3213d84507ca9741faccab789f48c44e00d.zip llvm-dea4f3213d84507ca9741faccab789f48c44e00d.tar.gz llvm-dea4f3213d84507ca9741faccab789f48c44e00d.tar.bz2 |
[libc] Use is aligned builtin instead of ptrtoint (#146402)
Summary:
This avoids a ptrtoint by just using the clang builtin. This is clang
specific but only clang can compile GPU code anyway so I do not bother
with a fallback.
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions