[all-commits] [llvm/llvm-project] 6c398a: [NFC][mlir][spirv] Fix syntax warnings in gen_spir...
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Thu Oct 10 20:58:02 PDT 2024
Branch: refs/heads/users/vitalybuka/spr/main.nfcsanitizer-check-suspended-threads-outside-threadsuspendersuspendthread
Home: https://github.com/llvm/llvm-project
Commit: 6c398abb75da5413152f97a780ddb3b3b2b6a0b7
https://github.com/llvm/llvm-project/commit/6c398abb75da5413152f97a780ddb3b3b2b6a0b7
Author: Caio Oliveira <cmarcelo at gmail.com>
Date: 2024-10-10 (Thu, 10 Oct 2024)
Changed paths:
M mlir/utils/spirv/gen_spirv_dialect.py
Log Message:
-----------
[NFC][mlir][spirv] Fix syntax warnings in gen_spirv_dialect.py (#111775)
In the context of regular expressions, Python (used to) gracefully
ignore the escape behavior of `\` in some contexts, e.g. for
representing the regular expression `\w+`. However in newer versions of
Python this now gives a warning in the form
```
SyntaxWarning: invalid escape sequence '\w'
```
Fix by explicitly using raw strings instead.
Commit: e3894f58e1a534c57f53b3beb21d6b2f0d3382b2
https://github.com/llvm/llvm-project/commit/e3894f58e1a534c57f53b3beb21d6b2f0d3382b2
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-10-11 (Fri, 11 Oct 2024)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/test/CodeGen/AArch64/arm64-popcnt.ll
M llvm/test/CodeGen/RISCV/rv32zbb.ll
M llvm/test/CodeGen/RISCV/rv64zbb.ll
M llvm/test/CodeGen/X86/ispow2.ll
M llvm/test/CodeGen/X86/known-never-zero.ll
Log Message:
-----------
[CodeGenPrepare] Convert `ctpop(X) ==/!= 1` into `ctpop(X) u</u> 2/1` (#111284)
Some targets have better codegen for `ctpop(X) u< 2` than `ctpop(X) ==
1`. After https://github.com/llvm/llvm-project/pull/100899, we set the
range of ctpop's return value to indicate the argument/result is
non-zero.
This patch converts `ctpop(X) ==/!= 1` into `ctpop(X) u</u> 2/1` in CGP
to fix https://github.com/llvm/llvm-project/issues/95255.
Commit: cbfcea1fc2154c92880278878610e16faba979be
https://github.com/llvm/llvm-project/commit/cbfcea1fc2154c92880278878610e16faba979be
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-10-10 (Thu, 10 Oct 2024)
Changed paths:
M libc/test/src/string/CMakeLists.txt
Log Message:
-----------
[libc] Temporarily disable strerror test on NVPTX
Summary:
This is failing on the NVPTX buildbot,
https://lab.llvm.org/buildbot/#/builders/69/builds/6997/. I cannot
reproduce it locally so I'm disabling it temporarily so the bot is
green.
Commit: 9f8ae7844dee7bb5527a59249e74885fb3bfb4a9
https://github.com/llvm/llvm-project/commit/9f8ae7844dee7bb5527a59249e74885fb3bfb4a9
Author: Adrian Vogelsgesang <avogelsgesang at salesforce.com>
Date: 2024-10-11 (Fri, 11 Oct 2024)
Changed paths:
M lldb/test/API/tools/lldb-dap/locations/Makefile
M lldb/test/API/tools/lldb-dap/locations/TestDAP_locations.py
R lldb/test/API/tools/lldb-dap/locations/main.c
A lldb/test/API/tools/lldb-dap/locations/main.cpp
M lldb/tools/lldb-dap/JSONUtils.cpp
M lldb/tools/lldb-dap/JSONUtils.h
M lldb/tools/lldb-dap/lldb-dap.cpp
Log Message:
-----------
[lldb-dap] Implement value locations for function pointers (#104589)
This commit adds `valueLocationReference` to function pointers and
function references. Thereby, users can navigate directly to the
pointed-to function from within the "variables" pane.
In general, it would be useful to also a add similar location references
also to member function pointers, `std::source_location`,
`std::function`, and many more. Doing so would require extending the
formatters to provide such a source code location.
There were two RFCs about this a while ago:
https://discourse.llvm.org/t/rfc-extending-formatters-with-a-source-code-reference/68375
https://discourse.llvm.org/t/rfc-sbvalue-metadata-provider/68377/26
However, both RFCs ended without a conclusion. As such, this commit now
implements the lowest-hanging fruit, i.e. function pointers. If people
find it useful, I will revive the RFC afterwards.
Commit: 9882b35a3a3e46d749b801bd0b98c3d90af6006c
https://github.com/llvm/llvm-project/commit/9882b35a3a3e46d749b801bd0b98c3d90af6006c
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-10-11 (Fri, 11 Oct 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.h
M llvm/lib/Target/X86/X86InstrAVX512.td
M llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
M llvm/lib/Target/X86/X86InstrSSE.td
M llvm/test/CodeGen/X86/fp-strict-scalar-cmp.ll
Log Message:
-----------
[X86][StrictFP] Combine fcmp + select to fmin/fmax for some predicates (#109512)
X86 maxss/minss etc. instructions won't turn SNaN to QNaN, so we can
combine fcmp + select to them for some predicates.
Commit: 0bc02b999a9686ba240b7a68d3f1cbbf037d2170
https://github.com/llvm/llvm-project/commit/0bc02b999a9686ba240b7a68d3f1cbbf037d2170
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-10-11 (Fri, 11 Oct 2024)
Changed paths:
M clang/lib/Sema/SemaTemplateDeductionGuide.cpp
M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
Log Message:
-----------
[Clang] Instantiate Typedefs referenced by type alias deduction guides (#111804)
TypedefNameDecl referenced by a synthesized CTAD guide for type aliases
was not transformed previously, resulting in a substitution failure in
BuildDeductionGuideForTypeAlias() when substituting into the
right-hand-side deduction guide.
This patch fixes it in the way we have been doing since
https://reviews.llvm.org/D80743. We transform all the function
parameters, parenting referenced TypedefNameDecls with the
CXXDeductionGuideDecl. Then we instantiate these declarations in
FindInstantiatedDecl() as we build up the eventual deduction guide,
using the mechanism introduced in D80743
Fixes #111508
Commit: ec3e0a5900894c82e1763aa8597f47111edf6246
https://github.com/llvm/llvm-project/commit/ec3e0a5900894c82e1763aa8597f47111edf6246
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-10-11 (Fri, 11 Oct 2024)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/test/CodeGen/AArch64/arm64-popcnt.ll
M llvm/test/CodeGen/RISCV/rv32zbb.ll
M llvm/test/CodeGen/RISCV/rv64zbb.ll
M llvm/test/CodeGen/X86/ispow2.ll
M llvm/test/CodeGen/X86/known-never-zero.ll
Log Message:
-----------
Revert "[CodeGenPrepare] Convert `ctpop(X) ==/!= 1` into `ctpop(X) u</u> 2/1`" (#111932)
Reverts llvm/llvm-project#111284 to fix clang stage2 builds.
Investigating...
Failed buildbots:
https://lab.llvm.org/buildbot/#/builders/76/builds/3576
https://lab.llvm.org/buildbot/#/builders/168/builds/4308
https://lab.llvm.org/buildbot/#/builders/127/builds/1087
Commit: 126ed16525c92af1025a86b582c087d213b47145
https://github.com/llvm/llvm-project/commit/126ed16525c92af1025a86b582c087d213b47145
Author: Kazu Hirata <kazu at google.com>
Date: 2024-10-10 (Thu, 10 Oct 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
Log Message:
-----------
[ARM] Fix formatting (NFC)
I'm about to post a PR in this area.
Commit: 51e9430a0c767243411d4b81c284700f89719277
https://github.com/llvm/llvm-project/commit/51e9430a0c767243411d4b81c284700f89719277
Author: lntue <lntue at google.com>
Date: 2024-10-10 (Thu, 10 Oct 2024)
Changed paths:
M libc/src/__support/FPUtil/double_double.h
M libc/src/__support/macros/optimization.h
M libc/src/math/generic/cos.cpp
M libc/src/math/generic/pow.cpp
M libc/src/math/generic/range_reduction_double_common.h
M libc/src/math/generic/range_reduction_double_fma.h
M libc/src/math/generic/range_reduction_double_nofma.h
M libc/src/math/generic/sin.cpp
M libc/src/math/generic/sincos.cpp
M libc/src/math/generic/sincos_eval.h
M libc/src/math/generic/tan.cpp
M libc/test/src/math/cos_test.cpp
M libc/test/src/math/sin_test.cpp
M libc/test/src/math/tan_test.cpp
Log Message:
-----------
[libc][math] Improve performance of double precision trig functions. (#111793)
- Improve the accuracy of fast pass' range reduction.
- Provide tighter error estimations.
- Reduce the table size when `LIBC_MATH_SMALL_TABLES` flag is set.
Commit: e01ae3920dd98779f2e58aa8f103ae3b6c6b5499
https://github.com/llvm/llvm-project/commit/e01ae3920dd98779f2e58aa8f103ae3b6c6b5499
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-10-10 (Thu, 10 Oct 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_linux.h
Log Message:
-----------
[NFC][sanitizer] Use tid_t instead of int in ThreadLister (#111941)
Commit: a6c0fc9a92727f2ab18da7b30d76d4893b849f59
https://github.com/llvm/llvm-project/commit/a6c0fc9a92727f2ab18da7b30d76d4893b849f59
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-10-10 (Thu, 10 Oct 2024)
Changed paths:
M clang/lib/Sema/SemaTemplateDeductionGuide.cpp
M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
M libc/src/__support/FPUtil/double_double.h
M libc/src/__support/macros/optimization.h
M libc/src/math/generic/cos.cpp
M libc/src/math/generic/pow.cpp
M libc/src/math/generic/range_reduction_double_common.h
M libc/src/math/generic/range_reduction_double_fma.h
M libc/src/math/generic/range_reduction_double_nofma.h
M libc/src/math/generic/sin.cpp
M libc/src/math/generic/sincos.cpp
M libc/src/math/generic/sincos_eval.h
M libc/src/math/generic/tan.cpp
M libc/test/src/math/cos_test.cpp
M libc/test/src/math/sin_test.cpp
M libc/test/src/math/tan_test.cpp
M libc/test/src/string/CMakeLists.txt
M lldb/test/API/tools/lldb-dap/locations/Makefile
M lldb/test/API/tools/lldb-dap/locations/TestDAP_locations.py
R lldb/test/API/tools/lldb-dap/locations/main.c
A lldb/test/API/tools/lldb-dap/locations/main.cpp
M lldb/tools/lldb-dap/JSONUtils.cpp
M lldb/tools/lldb-dap/JSONUtils.h
M lldb/tools/lldb-dap/lldb-dap.cpp
M llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.h
M llvm/lib/Target/X86/X86InstrAVX512.td
M llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
M llvm/lib/Target/X86/X86InstrSSE.td
M llvm/test/CodeGen/X86/fp-strict-scalar-cmp.ll
M mlir/utils/spirv/gen_spirv_dialect.py
Log Message:
-----------
[𝘀𝗽𝗿] changes introduced through rebase
Created using spr 1.3.4
[skip ci]
Compare: https://github.com/llvm/llvm-project/compare/7e4c8368b6c4...a6c0fc9a9272
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