[clang] [clang][bytecode] Implement __builtin_{wcscmp, wcsncmp} (PR #132723)

2025-04-05 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/132723 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][bytecode] Implement __builtin_{wcscmp, wcsncmp} (PR #132723)

2025-03-25 Thread Rainer Orth via cfe-commits
rorth wrote: Thanks for the reversal. I've meanwhile determined in a local `sparcv9-sun-solaris2.11` all-targets build that the test still `FAIL`ed even with the `X86` target configured. https://github.com/llvm/llvm-project/pull/132723 ___ cfe-commi

[clang] [clang][bytecode] Implement __builtin_{wcscmp, wcsncmp} (PR #132723)

2025-03-24 Thread Rainer Orth via cfe-commits
rorth wrote: Usually the SPARC-only `clang` will reject any non-`sparc*` triple as unsupported. However, there are cases where they still work; I never understood when this works and when it doesn't. https://github.com/llvm/llvm-project/pull/132723

[clang] [clang][bytecode] Implement __builtin_{wcscmp, wcsncmp} (PR #132723)

2025-03-24 Thread Rainer Orth via cfe-commits
rorth wrote: I fear it won't, unfortunately: the Solaris builders (and no doubt others) are configured to support only the native target (`sparc*` in the current case), not necessarily x86. https://github.com/llvm/llvm-project/pull/132723 ___ cfe-com

[clang] [clang][bytecode] Implement __builtin_{wcscmp, wcsncmp} (PR #132723)

2025-03-24 Thread Timm Baeder via cfe-commits
tbaederr wrote: If the target is the problem it should still work though, right? If all RUN lines have a triple set, the native triple doesn't matter, e.g. https://github.com/llvm/llvm-project/blob/main/clang/test/AST/ByteCode/builtin-bit-cast-bitfields.cpp does the same thing https://github.

[clang] [clang][bytecode] Implement __builtin_{wcscmp, wcsncmp} (PR #132723)

2025-03-24 Thread Timm Baeder via cfe-commits
tbaederr wrote: I saw, I hope https://github.com/llvm/llvm-project/pull/132762 fixes the builder https://github.com/llvm/llvm-project/pull/132723 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cf

[clang] [clang][bytecode] Implement __builtin_{wcscmp, wcsncmp} (PR #132723)

2025-03-24 Thread Rainer Orth via cfe-commits
rorth wrote: This patch broke the [Solaris/sparcv9 bot](https://lab.llvm.org/buildbot/#/builders/13/builds/6151). https://github.com/llvm/llvm-project/pull/132723 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/m

[clang] [clang][bytecode] Implement __builtin_{wcscmp, wcsncmp} (PR #132723)

2025-03-24 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/132723.diff 2 Files Affected: - (modified) clang/lib/AST/ByteCode/InterpBuiltin.cpp (+26-2) - (modified) clang/test/AST/ByteCode/builtin-functions

[clang] [clang][bytecode] Implement __builtin_{wcscmp, wcsncmp} (PR #132723)

2025-03-24 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/132723 None >From 483bb2ce006f980e781ce8756f43cc87683f522c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Mon, 24 Mar 2025 13:15:33 +0100 Subject: [PATCH] [clang][bytecode] Implement __builtin_{wc