[all-commits] [llvm/llvm-project] 4d5e83: [ClangFE] Improve handling of casting of atomic me...
Jonas Paulsson via All-commits
all-commits at lists.llvm.org
Tue Apr 2 09:53:18 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4d5e834c5b7f0ccccd90a6d543e182df602f6bc8
https://github.com/llvm/llvm-project/commit/4d5e834c5b7f0ccccd90a6d543e182df602f6bc8
Author: Jonas Paulsson <paulson1 at linux.ibm.com>
Date: 2024-04-02 (Tue, 02 Apr 2024)
Changed paths:
M clang/lib/CodeGen/CGAtomic.cpp
M clang/test/CodeGen/atomic.c
Log Message:
-----------
[ClangFE] Improve handling of casting of atomic memory operations. (#86691)
- Factor out a shouldCastToInt() method.
- Also pass through pointer type values to not be casted to integer.
CC @uweigand
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