SuccessChanges

Summary

  1. [lldb] Make UBSan tests remote ready (details)
  2. [AMDGPU] add buffer_atomic_swap for float (details)
  3. [NewPM][opt] Add more codegen passes (details)
  4. AMDGPU: Remove ATOMIC_PK_FADD (details)
  5. "|" used when "||" was meant in SBTarget::FindFunctions (details)
  6. GetPath() returns a std::string temporary.  You can't reference just the c_str. (details)
  7. [CMake] Print the autodetected host linker version (details)
Commit 3a538de653607b7602a870d63b13dd51638c1424 by Jonas Devlieghere
[lldb] Make UBSan tests remote ready

Add missing call to registerSanitizerLibrariesWithTarget.
The file was modifiedlldb/test/API/functionalities/ubsan/basic/TestUbsanBasic.py
The file was modifiedlldb/test/API/functionalities/ubsan/user-expression/TestUbsanUserExpression.py
Commit 5ddc8b49babbbad8b00de6bd410b77c9ade8b325 by ruiling.song
[AMDGPU] add buffer_atomic_swap for float

The functionality is used when calling imageAtomicExhange() on float
type imageBuffer in Graphics shaders.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D85187
The file was modifiedllvm/lib/Target/AMDGPU/BUFInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.atomic.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.atomic.ll
Commit ada4ee7cb8ffff844ade2611aa0475728c1fd17a by aeubanks
[NewPM][opt] Add more codegen passes

Reduces number of failures by 92.

Reviewed By: ychen

Differential Revision: https://reviews.llvm.org/D85381
The file was modifiedllvm/tools/opt/opt.cpp
Commit 0ee1eba58114d4cbe9d2c976e39887b6df4508f7 by Matthew.Arsenault
AMDGPU: Remove ATOMIC_PK_FADD

The f32 and v2f16 cases should be handled the same way.
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
Commit 08063f85a7eadb1e54d0a03e0307bf15319513e8 by jingham
"|" used when "||" was meant in SBTarget::FindFunctions
The file was modifiedlldb/test/API/python_api/target/TestTargetAPI.py
The file was modifiedlldb/source/API/SBTarget.cpp
Commit 1c1ffa6a300a60c81be41a3e08a4e9da7499adc1 by jingham
GetPath() returns a std::string temporary.  You can't reference just the c_str.

Found by the static analyzer.
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
Commit 633e3dacf27ea4950b7067803502490597ba96e0 by phosek
[CMake] Print the autodetected host linker version

There's no easy way to find out what the autodetected version is, but
sometimes it may be useful to confirm that the right version is being
used. Print it as CMake status message.

Differential Revision: https://reviews.llvm.org/D85362
The file was modifiedclang/CMakeLists.txt