Author: shore Date: 2025-07-04T09:55:18+08:00 New Revision: 6ac62f931e55eb02e546d67c8ea28d9a672f7fd1
URL: https://github.com/llvm/llvm-project/commit/6ac62f931e55eb02e546d67c8ea28d9a672f7fd1 DIFF: https://github.com/llvm/llvm-project/commit/6ac62f931e55eb02e546d67c8ea28d9a672f7fd1.diff LOG: fix building error Added: Modified: llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp llvm/test/lit.cfg.py Removed: ################################################################################ diff --git a/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp b/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp index fd679a9933cf0..6f4e93bffe198 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp +++ b/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp @@ -4563,6 +4563,7 @@ static SrcStatus getNegStatus(Register Reg, SrcStatus S, default: llvm_unreachable("unexpected SrcStatus"); } + llvm_unreachable("unexpected SrcStatus"); } static std::optional<std::pair<Register, SrcStatus>> diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py index bd6e37c848d8c..fddade78df9b6 100644 --- a/llvm/test/lit.cfg.py +++ b/llvm/test/lit.cfg.py @@ -474,7 +474,7 @@ def have_cxx_shared_library(): print("could not exec llvm-readobj") return False - readobj_out = readobj_cmd.stdout.read().decode("ascii") + readobj_out = readobj_cmd.stdout.read().decode("utf-8") readobj_cmd.wait() regex = re.compile(r"(libc\+\+|libstdc\+\+|msvcp).*\.(so|dylib|dll)") _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits