diff options
| author | Nikita Popov <npopov@redhat.com> | 2024-03-15 09:02:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-15 09:02:10 +0100 |
| commit | ff2fb2a1d78585944dcdb9061c8487fe1476dfa4 (patch) | |
| tree | 6b73ca67bb833d743c8e7a295836534d13b5b99a /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp | |
| parent | 0a739eb75fe68b1cec4e4aaad8b5395bb5da9a89 (diff) | |
| download | llvm-ff2fb2a1d78585944dcdb9061c8487fe1476dfa4.zip llvm-ff2fb2a1d78585944dcdb9061c8487fe1476dfa4.tar.gz llvm-ff2fb2a1d78585944dcdb9061c8487fe1476dfa4.tar.bz2 | |
[TSan] Fix atomicrmw xchg with pointer and floats (#85228)
atomicrmw xchg also accepts pointer and floating-point values. To handle
those, insert necessary casts to and from integer. This is what we do
for cmpxchg as well.
Fixes https://github.com/llvm/llvm-project/issues/85226.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions
