[all-commits] [llvm/llvm-project] 2d0137: [clang] Differentiate between identifier and strin...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Mon Feb 19 02:50:03 PST 2024
Branch: refs/heads/users/fhahn/vplan-uniform-scalar-lanes
Home: https://github.com/llvm/llvm-project
Commit: 2d0137dd64017c34101f8a763fd8958c20acd6bb
https://github.com/llvm/llvm-project/commit/2d0137dd64017c34101f8a763fd8958c20acd6bb
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-02-18 (Sun, 18 Feb 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/lib/Parse/ParseDecl.cpp
M clang/test/Sema/attr-function-return.c
M clang/test/Sema/callingconv-iamcu.c
M clang/test/Sema/callingconv.c
M clang/test/Sema/mips-interrupt-attr.c
M clang/test/Sema/riscv-interrupt-attr.c
M clang/test/Sema/zero_call_used_regs.c
M clang/test/SemaCXX/warn-consumed-parsing.cpp
M clang/test/SemaHLSL/shader_type_attr.hlsl
M clang/utils/TableGen/ClangAttrEmitter.cpp
Log Message:
-----------
[clang] Differentiate between identifier and string EnumArgument (#68550)
EnumArgument may be a string or an identifier. If it is a string, it
should be parsed as unevaluated string literal. Add IsString flag to
EnumArgument so that the parser can choose the correct parsing method.
Target-specific attributes that share spelling may have different
attribute "prototypes". For example, ARM's version of "interrupt"
attribute accepts a string enum, while MSP430's version accepts an
unsigned integer. Adjust ClangAttrEmitter so that the generated
`attributeStringLiteralListArg` returns the correct mask depending on
target triple.
It is worth noting that even after this change some string arguments are
still parsed as identifiers or, worse, as expressions. This is because
of some special logic in `ParseAttributeArgsCommon`. Fixing it is out of
scope of this patch.
Commit: ba27c3963d785a023cc8963ec3b6f508fe31527e
https://github.com/llvm/llvm-project/commit/ba27c3963d785a023cc8963ec3b6f508fe31527e
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-18 (Sun, 18 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/shifts.cpp
Log Message:
-----------
[clang][Interp] Classify correct type for compound shifts
RT must be the type of the RHS, otherwise this later fails when
we set the RHS value to the temporary variable.
Commit: 767433ba88212b70da51ddc41727624c790cc329
https://github.com/llvm/llvm-project/commit/767433ba88212b70da51ddc41727624c790cc329
Author: Nick Anderson <nickleus27 at gmail.com>
Date: 2024-02-18 (Sun, 18 Feb 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
Log Message:
-----------
[AMDGPU] fixes duplicate expressions in if stmnts in SIISelLowering.cpp (#82018)
fixes #81766
Commit: 886294a2fe5928ecf34299e02526e17be19910c6
https://github.com/llvm/llvm-project/commit/886294a2fe5928ecf34299e02526e17be19910c6
Author: Quinn Dawkins <quinn.dawkins at gmail.com>
Date: 2024-02-18 (Sun, 18 Feb 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/DataLayoutPropagation.cpp
M mlir/test/Dialect/Linalg/data-layout-propagation.mlir
Log Message:
-----------
[mlir][linalg] Add pattern to propagate pack up through tensor.pad (#82035)
This mirrors the existing pattern for pushing unpack down through
padding, restricting to cases where the padded dimensions aren't tiled
by the pack.
Additionally reformats the propagation test to make it easier to read.
Commit: 54daf6af57fb15d7a51e3f4bb889199fd1453bee
https://github.com/llvm/llvm-project/commit/54daf6af57fb15d7a51e3f4bb889199fd1453bee
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-02-18 (Sun, 18 Feb 2024)
Changed paths:
M libcxx/include/istream
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/sync.pass.cpp
Log Message:
-----------
[libc++] Fixes istream::sync. (#76467)
This fixes two issues.
The return value
----------------
Based on the wording
[istream.unformatted]/37
Effects: Behaves as an unformatted input function (as described above),
except that it does not count the number of characters extracted and
does not affect the value returned by subsequent calls to gcount().
After constructing a sentry object, if rdbuf() is a null pointer,
returns -1.
[istream.unformatted]/1
... It then creates an object of class sentry with the default argument
noskipws (second) argument true. If the sentry object returns true, when
converted to a value of type bool, the function endeavors to obtain the
requested input. ...
It could be argued the current behaviour is correct, however
constructing a istream rdbuf() == nullptr creates a sentry that returns
false; its state is always bad in this case.
As mentioned in the bug report, after this change the 3 major
implementations behave the same.
The setting of the state
------------------------
When pubsync returned -1 it updated the local __state variable and
returned. This early return caused the state up the istream not to be
updated to the new state.
Fixes: https://github.com/llvm/llvm-project/issues/51497
Fixes: https://github.com/llvm/llvm-project/issues/51499
---------
Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>
Commit: 41364051ac9380a6b62f61c794fc5978b2e703c9
https://github.com/llvm/llvm-project/commit/41364051ac9380a6b62f61c794fc5978b2e703c9
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-18 (Sun, 18 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/Program.cpp
A clang/test/AST/Interp/crash-GH49103-2.cpp
Log Message:
-----------
[clang][Interp] Not all record bases are of RecordType
See the attached test case.
Commit: cc2fe7b516c1dbf1f8747ade0f17891f9990dede
https://github.com/llvm/llvm-project/commit/cc2fe7b516c1dbf1f8747ade0f17891f9990dede
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-18 (Sun, 18 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Program.cpp
M clang/lib/AST/Interp/Record.h
Log Message:
-----------
[clang][Interp][NFC] Make Record::{Base,Field} member pointers const
Commit: 536d78c213e127e00aa3b120582a3c133e6b0e52
https://github.com/llvm/llvm-project/commit/536d78c213e127e00aa3b120582a3c133e6b0e52
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-02-18 (Sun, 18 Feb 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanSLP.cpp
Log Message:
-----------
[VPlan] Remove VPInstruction::setUnderlyingInstr (NFCI).
VPInstruction doesn't rely on the underlying instruction any longer for
codegen, remove the unneeded setUnderlyingInstr.
Commit: d6538e0537c444c0775eebf450743257a2504f2f
https://github.com/llvm/llvm-project/commit/d6538e0537c444c0775eebf450743257a2504f2f
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-02-18 (Sun, 18 Feb 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Program.cpp
M clang/lib/AST/Interp/Record.h
M clang/lib/Parse/ParseDecl.cpp
A clang/test/AST/Interp/crash-GH49103-2.cpp
M clang/test/AST/Interp/shifts.cpp
M clang/test/Sema/attr-function-return.c
M clang/test/Sema/callingconv-iamcu.c
M clang/test/Sema/callingconv.c
M clang/test/Sema/mips-interrupt-attr.c
M clang/test/Sema/riscv-interrupt-attr.c
M clang/test/Sema/zero_call_used_regs.c
M clang/test/SemaCXX/warn-consumed-parsing.cpp
M clang/test/SemaHLSL/shader_type_attr.hlsl
M clang/utils/TableGen/ClangAttrEmitter.cpp
M libcxx/include/istream
M libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/sync.pass.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanSLP.cpp
M mlir/lib/Dialect/Linalg/Transforms/DataLayoutPropagation.cpp
M mlir/test/Dialect/Linalg/data-layout-propagation.mlir
Log Message:
-----------
Merge remote-tracking branch 'origin/main' into users/fhahn/vplan-uniform-scalar-lanes
Commit: 5e83b26584c9a02f8a2923651d08cad2dcc8479a
https://github.com/llvm/llvm-project/commit/5e83b26584c9a02f8a2923651d08cad2dcc8479a
Author: Danny Mösch <danny.moesch at icloud.com>
Date: 2024-02-18 (Sun, 18 Feb 2024)
Changed paths:
M clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/modernize/loop-convert-basic.cpp
Log Message:
-----------
[clang-tidy] Keep parentheses when replacing index access in `sizeof` calls (#82166)
Fixes #56021.
Commit: dc94eb57e39a925a9672bfc4d7cba0fb0da874d8
https://github.com/llvm/llvm-project/commit/dc94eb57e39a925a9672bfc4d7cba0fb0da874d8
Author: David Tellenbach <dtellenbach at apple.com>
Date: 2024-02-18 (Sun, 18 Feb 2024)
Changed paths:
M clang/lib/CodeGen/CoverageMappingGen.cpp
A clang/test/CoverageMapping/conditional-operator.c
Log Message:
-----------
[clang][CodeCoverage] Fix CoverageMapping for binary conditionals ops (#82141)
Fix an issue that produces a wrong coverage mapping when using binary
conditional operators as show in the example below.
Before this patch:
1| 1|int binary_cond(int x) {
2| 1| x = x ?: 4;
3| 1| int y = 0;
4| 0| return x; <-- Not covered
5| 1|}
After this patch:
1| 1|int binary_cond(int x) {
2| 1| x = x ?: 4;
3| 1| int y = 0;
4| 1| return x; <-- Covered
5| 1|}
Commit: 79709498eaa57095a9888b882e94f6d15a244d4b
https://github.com/llvm/llvm-project/commit/79709498eaa57095a9888b882e94f6d15a244d4b
Author: David Tellenbach <dtellenbach at apple.com>
Date: 2024-02-18 (Sun, 18 Feb 2024)
Changed paths:
M clang/test/CoverageMapping/conditional-operator.c
Log Message:
-----------
[clang][CodeCoverage] Fix conditional-operator test (#82192)
Commit: 2646dccaa35e9bf414cb5c77d047ab1733054018
https://github.com/llvm/llvm-project/commit/2646dccaa35e9bf414cb5c77d047ab1733054018
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-02-18 (Sun, 18 Feb 2024)
Changed paths:
M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
A bolt/test/X86/linux-static-calls.s
Log Message:
-----------
[BOLT] Add support for Linux kernel static calls table (#82072)
Static calls are calls that are getting patched during runtime. Hence,
for every such call the kernel runtime needs the location of the call or
jmp instruction that will be patched. Instruction locations together
with a corresponding key are stored in the static call site table. As
BOLT rewrites these instructions it needs to update the table.
Commit: bb91b4371975f6aa48ade88076c400ca8c2c0043
https://github.com/llvm/llvm-project/commit/bb91b4371975f6aa48ade88076c400ca8c2c0043
Author: XinWang10 <108658776+XinWang10 at users.noreply.github.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/vector-interleaved-store-i8-stride-8.ll
Log Message:
-----------
[X86] Handle repeated blend mask in combineConcatVectorOps (#82155)
https://github.com/llvm/llvm-project/commit/1d27669e8ad07f8f2 add
support for fold 512-bit concat(blendi(x,y,c0),blendi(z,w,c1)) to
AVX512BW mask select.
But when the type of subvector is v16i16, we need to generate repeated
mask to make the result correct.
The subnode looks like t87: v16i16 = X86ISD::BLENDI t132, t58,
TargetConstant:i8<-86>.
Commit: 80f3bb4cf2f5603f65fca16775b1f507aee4aae2
https://github.com/llvm/llvm-project/commit/80f3bb4cf2f5603f65fca16775b1f507aee4aae2
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/PowerPC/insert_extract.ll
Log Message:
-----------
[PowerPC] adjust cost for vector insert/extract with non const index (#79092)
P9 has vxform `Vector Extract Element Instructions` like `vextuwrx` and
P10 has vxform `Vector Insert Element instructions` like `vinsd`. Update
the instruction cost reflecting these instructions.
Fixes https://github.com/llvm/llvm-project/issues/50249
Commit: 64790064e82467b43c04a70b6e9873e6939be81f
https://github.com/llvm/llvm-project/commit/64790064e82467b43c04a70b6e9873e6939be81f
Author: Enna1 <xumingjie.enna1 at bytedance.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M compiler-rt/lib/asan/asan_report.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_common.h
M compiler-rt/lib/sanitizer_common/sanitizer_posix.cpp
Log Message:
-----------
[asan] Use InternalMmapVectorNoCtor for error_message_buffer, reallocate if needed (#77488)
- Add a param `raw_report` which defaults to false for function
`UnmapOrDie()` like we do for `MmapOrDie()`
- Add a template param `raw_report` which defaults to false for class
`InternalMmapVectorNoCtor`. `raw_report` will be passed to `MmapOrDie()`
and `UnmapOrDie()` when they are called in class
`InternalMmapVectorNoCtor` member functions.
- Use `InternalMmapVectorNoCtor<char, true>` for `error_message_buffer`
and reallocate if needed.
Commit: 0ce01712432dd34f7e83f78af23fb444f3fd92b6
https://github.com/llvm/llvm-project/commit/0ce01712432dd34f7e83f78af23fb444f3fd92b6
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
Log Message:
-----------
[BOLT][NFC] Switch logging in LinuxKernelRewriter (#82195)
Use journaling streams introduced in #81524 for LinuxKernelRewriter.
Commit: 9b76515b1bb57da7f083877486f57ce8328f91a5
https://github.com/llvm/llvm-project/commit/9b76515b1bb57da7f083877486f57ce8328f91a5
Author: Enna1 <xumingjie.enna1 at bytedance.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp
Log Message:
-----------
[sanitizer][fuchsia] Fix fuchsia buildbot failure after 64790064e82467b43c04a70b6e9873e6939be81f (#82202)
In https://github.com/llvm/llvm-project/pull/77488, a param `raw_report`
is added for function `UnmapOrDie()`.
But missing the corresponding change for fuchsia, causes the buildbot
failure, see https://lab.llvm.org/buildbot/#/builders/98/builds/33593.
This patch should fix the fuchsia buildbot failure.
Commit: 2ed0aacf973d628d5abae79229e251e034831dd3
https://github.com/llvm/llvm-project/commit/2ed0aacf973d628d5abae79229e251e034831dd3
Author: Jason Eckhardt <jeckhardt at nvidia.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M llvm/test/TableGen/HwModeEncodeDecode.td
M llvm/utils/TableGen/DecoderEmitter.cpp
Log Message:
-----------
[TableGen] Fixes for per-HwMode decoding problem (#82201)
Today, if any instruction uses EncodingInfos/EncodingByHwMode to
override the default encoding, the opcode field of the decoder table is
generated incorrectly. This causes failed disassemblies and other
problems.
Specifically, the main correctness issue is that the EncodingID is
inadvertently stored in the table rather than the actual opcode. This is
caused by having set up the IndexOfInstruction map incorrectly during
the loop to populate NumberedEncodings-- which is then propagated around
when OpcMap is set up with a bad EncodingIDAndOpcode.
Instead, do away with IndexOfInstruction altogether and use opcode value
queried from CodeGenTarget::getInstrIntValue to set up OpcMap. This
itself exposed another problem where emitTable was using the decoded
opcode to index into NumberedEncodings. Instead pass in the
EncodingIDAndOpcode vector, and create the reverse mapping from Opcode
to EncodingID, which is then used to index NumberedEncodings.
This problem is not currently exposed upstream since no in-tree targets
yet use the per-HwMode feature. It does show up in at least two
downstream targets.
Commit: 50b82ef1dbc7126fb9aacb40b20eb10a328dbffc
https://github.com/llvm/llvm-project/commit/50b82ef1dbc7126fb9aacb40b20eb10a328dbffc
Author: Luke Lau <luke at igalia.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Use DAG.getElementCount in lowerEXTRACT_SUBVECTOR. NFCI (#81698)
Following up on the review comment in
https://github.com/llvm/llvm-project/pull/79949#discussion_r1482071745
Commit: dd7386d85f11cf6ad911b9827c7018fb08c6c205
https://github.com/llvm/llvm-project/commit/dd7386d85f11cf6ad911b9827c7018fb08c6c205
Author: Wanyi <kusmour at gmail.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M lldb/bindings/interface/SBStatisticsOptionsDocstrings.i
M lldb/include/lldb/API/SBStatisticsOptions.h
M lldb/include/lldb/Symbol/SymbolFile.h
M lldb/include/lldb/Symbol/SymbolFileOnDemand.h
M lldb/include/lldb/Target/Statistics.h
M lldb/source/API/SBStatisticsOptions.cpp
M lldb/source/Commands/CommandObjectStats.cpp
M lldb/source/Commands/Options.td
M lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
M lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h
M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h
M lldb/source/Symbol/SymbolFile.cpp
M lldb/source/Symbol/SymbolFileOnDemand.cpp
M lldb/source/Target/Statistics.cpp
M lldb/test/API/commands/target/debuginfo/TestDebugInfoSize.py
M lldb/test/API/functionalities/stats_api/TestStatisticsAPI.py
A lldb/test/API/functionalities/stats_api/main-main.dwo.yaml
A lldb/test/API/functionalities/stats_api/main.yaml
Log Message:
-----------
[Reland] Report only loaded debug info in statistics dump (#81706) (#82207)
Updates:
- The previous patch changed the default behavior to not load dwos in
`DWARFUnit`
~~`SymbolFileDWARFDwo *GetDwoSymbolFile(bool load_all_debug_info =
false);`~~
`SymbolFileDWARFDwo *GetDwoSymbolFile(bool load_all_debug_info = true);`
- This broke some lldb-shell tests (see
https://green.lab.llvm.org/green/view/LLDB/job/as-lldb-cmake/16273/)
- TestDebugInfoSize.py
- with symbol on-demand, by default statistics dump only reports
skeleton debug info size
- `statistics dump -f` will load all dwos. debug info = skeleton debug
info + all dwo debug info
Currently running `statistics dump` will trigger lldb to load debug info
that's not yet loaded (eg. dwo files). Resulted in a delay in the
command return, which, can be interrupting.
This patch also added a new option `--load-all-debug-info` asking
statistics to dump all possible debug info, which will force loading all
debug info available if not yet loaded.
Commit: dc1b7729337a3e04ad1bb69394122c7f95f193d2
https://github.com/llvm/llvm-project/commit/dc1b7729337a3e04ad1bb69394122c7f95f193d2
Author: David Green <david.green at arm.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-phi.mir
M llvm/test/CodeGen/AArch64/insertextract.ll
Log Message:
-----------
[AArch64][GlobalISel] Add missing legalization for v16i8 extract element.
Commit: 9d3d6ec665d6284b6ba8c51a57a4a618d67a1697
https://github.com/llvm/llvm-project/commit/9d3d6ec665d6284b6ba8c51a57a4a618d67a1697
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaExpr.cpp
M clang/test/CodeGenCXX/cxx2a-consteval.cpp
Log Message:
-----------
[Clang] CXXConstructExpr may be immediate calls. (#82179)
A CXXConstructExpr may refer to an immediate constructor, in which case
it should be substituted in the
enclosing default init expression.
Fixes #82154
Commit: 2ea5d167ae43bed5a511d5d819ae7c52cc76ec5c
https://github.com/llvm/llvm-project/commit/2ea5d167ae43bed5a511d5d819ae7c52cc76ec5c
Author: Hristo Hristov <hghristov.rmm at gmail.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/docs/Status/Cxx2cPapers.csv
M libcxx/include/CMakeLists.txt
A libcxx/include/__fwd/complex.h
M libcxx/include/__ranges/elements_view.h
M libcxx/include/__tuple/tuple_like.h
M libcxx/include/complex
M libcxx/include/libcxx.imp
M libcxx/include/module.modulemap.in
M libcxx/modules/std/complex.inc
M libcxx/test/libcxx/transitive_includes/cxx03.csv
M libcxx/test/libcxx/transitive_includes/cxx11.csv
M libcxx/test/libcxx/transitive_includes/cxx14.csv
M libcxx/test/libcxx/transitive_includes/cxx17.csv
M libcxx/test/libcxx/transitive_includes/cxx20.csv
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
A libcxx/test/libcxx/utilities/tuple/__tuple_like.compile.pass.cpp
A libcxx/test/std/numerics/complex.number/complex.tuple/get.pass.cpp
A libcxx/test/std/numerics/complex.number/complex.tuple/get.verify.cpp
A libcxx/test/std/numerics/complex.number/complex.tuple/tuple_element.compile.pass.cpp
A libcxx/test/std/numerics/complex.number/complex.tuple/tuple_element.verify.cpp
A libcxx/test/std/numerics/complex.number/complex.tuple/tuple_size.compile.pass.cpp
M libcxx/utils/generate_feature_test_macro_components.py
Log Message:
-----------
[libc++][complex] P2819R2: Add `tuple` protocol to `complex` (#79744)
Implements: P2819R2 <https://wg21.link/P2819R2>
- https://eel.is/c++draft/utilities#concept:tuple-like
- https://eel.is/c++draft/complex.syn
- https://eel.is/c++draft/complex.tuple
---------
Co-authored-by: Zingam <zingam at outlook.com>
Commit: bb049094d5d32e562e5831e5bd0fa12c0a7984ce
https://github.com/llvm/llvm-project/commit/bb049094d5d32e562e5831e5bd0fa12c0a7984ce
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn build] Port 2ea5d167ae43
Commit: fcf3ca9a5e50f32edcfe68c291edd1ecab7009a7
https://github.com/llvm/llvm-project/commit/fcf3ca9a5e50f32edcfe68c291edd1ecab7009a7
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
Log Message:
-----------
[clang][Interp][NFC] Split emitRecordDestruction
into a general part and a record part. This will be needed in future
patches.
Commit: d61864f813e33b4228e56f391ec53566aab9efda
https://github.com/llvm/llvm-project/commit/d61864f813e33b4228e56f391ec53566aab9efda
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/Program.cpp
M clang/test/AST/Interp/lambda.cpp
Log Message:
-----------
[clang][Interp] Don't create Records for incomplete decls
We would previously create the Record instance with 0 fields,
which is incorrect. We later see it again with 1 field.
Fixes #82203
Commit: d043b4bc7e61e2720fae2473db145389ccac4598
https://github.com/llvm/llvm-project/commit/d043b4bc7e61e2720fae2473db145389ccac4598
Author: Enna1 <xumingjie.enna1 at bytedance.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_common.h
M compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
Log Message:
-----------
[Sanitizer][Windows] Fix Windows buildbot failure after 64790064e82467b43c04a70b6e9873e6939be81f (#82215)
In #77488, a param raw_report is added for function UnmapOrDie(), causes
the Windows buildbot failure:
- https://lab.llvm.org/buildbot/#/builders/127/builds/62395
- https://lab.llvm.org/buildbot/#/builders/265/builds/2662
This patch should fix the Windows buildbot failure.
Commit: e98abc3ea0796a5d78eb48f2ee9b3019e8133562
https://github.com/llvm/llvm-project/commit/e98abc3ea0796a5d78eb48f2ee9b3019e8133562
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
[clang][Interp] Emit dtors when ignoring CXXConstructExprs
The comment says we should emit destructors, but we didn't.
Commit: 442f066fc464e953b7783230e95ccf2a67ebfb38
https://github.com/llvm/llvm-project/commit/442f066fc464e953b7783230e95ccf2a67ebfb38
Author: Fangrui Song <i at maskray.me>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
M llvm/test/MC/AArch64/arm64-optional-hash.s
Log Message:
-----------
[AArch64AsmParser] Support (xxx), lsl 16 after #80571
An immediate integer operand not prefixed with # can also be followed
by "lsl". Parse "lsl".
In the wild, edk2 ArmPkg/Include/AsmMacroIoLibV8.h has
`movz Reg, (Val) >> 16, lsl #16`.
Note: our support for paren expression not prefixed with # is not very
good. For example, `adds x3, x4, (1024>>0), lsl 12` fails to be parsed.
Commit: 6d7de46155fece05ab5a44aedd573a811f4b208a
https://github.com/llvm/llvm-project/commit/6d7de46155fece05ab5a44aedd573a811f4b208a
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/Record.h
Log Message:
-----------
[clang][Interp][NFC] Make Record field pointers const
Commit: 63dd08b1f4d2a79c02e57cc0688e40c1ecc7f6cc
https://github.com/llvm/llvm-project/commit/63dd08b1f4d2a79c02e57cc0688e40c1ecc7f6cc
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M llvm/include/llvm/Target/TargetPfmCounters.td
M llvm/lib/Target/X86/X86PfmCounters.td
M llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp
M llvm/tools/llvm-exegesis/lib/BenchmarkResult.h
M llvm/tools/llvm-exegesis/llvm-exegesis.cpp
Log Message:
-----------
[llvm-exegesis] Add branch miss validation counter (#81094)
This patch adds a branch miss validation counter so that it is easy to
quantify the number of missed branches when using the loop repetition
mode.
Commit: 4b9c089381f7bd9a757d3926091205d70fcc9964
https://github.com/llvm/llvm-project/commit/4b9c089381f7bd9a757d3926091205d70fcc9964
Author: Martin Storsjö <martin at martin.st>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M openmp/runtime/test/atomic/kmp_atomic_float10_max_min.c
Log Message:
-----------
[OpenMP] [test] Skip the -mlong-double-80 test on MSVC ABI (#81115)
Within the MSVC ABI, long doubles are the same as regular 64 bit
doubles. This test case, which is compiled with -mlong-double-80, cannot
work when libomp has been compiled without that flag, as
-mlong-double-80 changes the calling convention for the tested
functions.
Commit: 0b34d7e9e2915510088aeee5592a845edd62b8ba
https://github.com/llvm/llvm-project/commit/0b34d7e9e2915510088aeee5592a845edd62b8ba
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/cxx23.cpp
M clang/test/SemaCXX/cxx23-static-callop-lambda-expression.cpp
Log Message:
-----------
[clang][Interp] Fix calling static operators
They don't have an instance pointer anywhere but get one passed
via their CallExpr.
Commit: 0c1f62073fd48f7dcf16f8dc38d825bb211745d4
https://github.com/llvm/llvm-project/commit/0c1f62073fd48f7dcf16f8dc38d825bb211745d4
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M llvm/docs/CommandGuide/llvm-exegesis.rst
Log Message:
-----------
[Docs][llvm-exegesis] Add documentation on validation counters option (#82132)
This patch documents the --validation-counter flag.
Commit: 93db5b7b2561b574aae05c2ffd601cfcadc3f2c2
https://github.com/llvm/llvm-project/commit/93db5b7b2561b574aae05c2ffd601cfcadc3f2c2
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp
M llvm/tools/llvm-exegesis/lib/BenchmarkResult.h
M llvm/tools/llvm-exegesis/lib/LatencyBenchmarkRunner.cpp
Log Message:
-----------
[llvm-exegesis] Add debug option to print per-measurement values (#81219)
This patch adds a debug option to print per measurement latency and
validation counter values. This makes it easier to debug certain
transient issues that can be hard to spot just using the summary view at
the end.
I've hacked print statements into this part of the code base enough
times for debugging various things that I think it makes sense to be a
proper debug macro.
Commit: ad78e210bd71619f1c81c4ed66aa8974ee5209be
https://github.com/llvm/llvm-project/commit/ad78e210bd71619f1c81c4ed66aa8974ee5209be
Author: Graham Hunter <graham.hunter at arm.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M llvm/test/Analysis/CostModel/AArch64/sve-intrinsics.ll
A llvm/test/Transforms/LoopUnroll/AArch64/scalable-vec-ins-ext.ll
Log Message:
-----------
[NFC][AArch64] Tests for guarding unrolling with scalable vec ins/ext (#81132)
Commit: c3107821aeeeb12a13e7a85f0e23b884c2881417
https://github.com/llvm/llvm-project/commit/c3107821aeeeb12a13e7a85f0e23b884c2881417
Author: Dmitry Polukhin <34227995+dmpolukhin at users.noreply.github.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
A clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/identifier-naming/symlink/include/.clang-tidy
A clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/identifier-naming/symlink/include/test.h
A clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-symlink.cpp
Log Message:
-----------
[clang-tidy][readability-identifier-naming] Resolve symlinks for checking style for file (#81985)
Summary:
Some build systems create symlinks in a temporary build directory for
headers in the source tree for isolation purposes. These symlinks
prevent `readability-identifier-naming` detecting issues and applying
fixes. Without this fix clang-tidy is checking .clang-tidy config file
in a temporary directory instead of source source location.
Test Plan: check-clang-tools
Commit: 4b483ecd55d7269e8d9af788e823fc9b476b33ce
https://github.com/llvm/llvm-project/commit/4b483ecd55d7269e8d9af788e823fc9b476b33ce
Author: SahilPatidar <89641424+SahilPatidar at users.noreply.github.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/test/Transforms/InstCombine/and.ll
M llvm/test/Transforms/InstCombine/binop-cast.ll
M llvm/test/Transforms/InstCombine/sub-ashr-and-to-icmp-select.ll
Log Message:
-----------
[InstCombine] Fix failure to fold (and %x, (sext i1 %m)) -> (select %m, %x, 0) with multiple uses of %m (#81409)
Resolves #81288.
Commit: a2535a5786894c54fb657f3b142ce88e8810e1ea
https://github.com/llvm/llvm-project/commit/a2535a5786894c54fb657f3b142ce88e8810e1ea
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/EvalEmitter.cpp
A clang/test/AST/Interp/comma.cpp
Log Message:
-----------
[clang][Interp] Remove assertion to fix comma operators...
... involving function pointers on the RHS. The conversion to
an RValue _can_ be requested, but we just ignore it.
Commit: da04f306a88d996e10f20f1bcb13062f30155dbf
https://github.com/llvm/llvm-project/commit/da04f306a88d996e10f20f1bcb13062f30155dbf
Author: Julien Schueller <schueller at phimeca.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M flang/lib/Frontend/CMakeLists.txt
Log Message:
-----------
[flang] Fix missing CGPasses.h.inc (#71691)
I could reproduce using unix makefiles with -j1 option, with version
16.0.6
Closes #61543
Closes #57680
Commit: 0215d2c58bfaae40332075cca566d83e152330a6
https://github.com/llvm/llvm-project/commit/0215d2c58bfaae40332075cca566d83e152330a6
Author: Tim Northover <tnorthover at apple.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/test/CodeGen/AArch64/arm64_32.ll
Log Message:
-----------
arm64_32: extend @llvm.stackguard call to in-DAG 64-bits before handing off
Pointers are 64-bits in the DAG, so we need to extend the result of loading the
cookie when building the DAG.
Commit: 232a14d062e735af3e385de8dc56f6f4584cad1b
https://github.com/llvm/llvm-project/commit/232a14d062e735af3e385de8dc56f6f4584cad1b
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M llvm/include/llvm/Analysis/AliasAnalysis.h
Log Message:
-----------
[BatchAA] Fix a reference to a non-exising `pointsToConstantMemory` overload (NFC) (#82173)
Commit: 658e4763a23cc53eaf1b84e804f980f2a8cb8802
https://github.com/llvm/llvm-project/commit/658e4763a23cc53eaf1b84e804f980f2a8cb8802
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
A llvm/test/CodeGen/AArch64/stack-probing-no-scratch-reg.mir
Log Message:
-----------
[AArch64] Fix wrong condition in `canUseAsPrologue` (#81878)
Inline stack probing code may need a scratch register, hence basic
blocks where such register is not available cannot be used as prologues.
Checking for an available scratch regidster was incorrectly skipped when
the function uses stack probing.
Commit: 6429fdb6849a199ee24f9d289337ef3ab33481fb
https://github.com/llvm/llvm-project/commit/6429fdb6849a199ee24f9d289337ef3ab33481fb
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlanValue.h
Log Message:
-----------
!fixpup address parts of outstanding comments, thanks!
Commit: 89f7a80c0bdccdb822e95e7b945f3a82dc776936
https://github.com/llvm/llvm-project/commit/89f7a80c0bdccdb822e95e7b945f3a82dc776936
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
A bolt/test/X86/linux-static-calls.s
M clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/modernize/loop-convert-basic.cpp
A clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/identifier-naming/symlink/include/.clang-tidy
A clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/identifier-naming/symlink/include/test.h
A clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-symlink.cpp
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/Program.cpp
M clang/lib/AST/Interp/Record.h
M clang/lib/CodeGen/CoverageMappingGen.cpp
M clang/lib/Sema/SemaExpr.cpp
A clang/test/AST/Interp/comma.cpp
M clang/test/AST/Interp/cxx23.cpp
M clang/test/AST/Interp/lambda.cpp
M clang/test/AST/Interp/records.cpp
M clang/test/CodeGenCXX/cxx2a-consteval.cpp
A clang/test/CoverageMapping/conditional-operator.c
M clang/test/SemaCXX/cxx23-static-callop-lambda-expression.cpp
M compiler-rt/lib/asan/asan_report.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_common.h
M compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_posix.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
M flang/lib/Frontend/CMakeLists.txt
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/docs/Status/Cxx2cPapers.csv
M libcxx/include/CMakeLists.txt
A libcxx/include/__fwd/complex.h
M libcxx/include/__ranges/elements_view.h
M libcxx/include/__tuple/tuple_like.h
M libcxx/include/complex
M libcxx/include/libcxx.imp
M libcxx/include/module.modulemap.in
M libcxx/modules/std/complex.inc
M libcxx/test/libcxx/transitive_includes/cxx03.csv
M libcxx/test/libcxx/transitive_includes/cxx11.csv
M libcxx/test/libcxx/transitive_includes/cxx14.csv
M libcxx/test/libcxx/transitive_includes/cxx17.csv
M libcxx/test/libcxx/transitive_includes/cxx20.csv
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
A libcxx/test/libcxx/utilities/tuple/__tuple_like.compile.pass.cpp
A libcxx/test/std/numerics/complex.number/complex.tuple/get.pass.cpp
A libcxx/test/std/numerics/complex.number/complex.tuple/get.verify.cpp
A libcxx/test/std/numerics/complex.number/complex.tuple/tuple_element.compile.pass.cpp
A libcxx/test/std/numerics/complex.number/complex.tuple/tuple_element.verify.cpp
A libcxx/test/std/numerics/complex.number/complex.tuple/tuple_size.compile.pass.cpp
M libcxx/utils/generate_feature_test_macro_components.py
M lldb/bindings/interface/SBStatisticsOptionsDocstrings.i
M lldb/include/lldb/API/SBStatisticsOptions.h
M lldb/include/lldb/Symbol/SymbolFile.h
M lldb/include/lldb/Symbol/SymbolFileOnDemand.h
M lldb/include/lldb/Target/Statistics.h
M lldb/source/API/SBStatisticsOptions.cpp
M lldb/source/Commands/CommandObjectStats.cpp
M lldb/source/Commands/Options.td
M lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
M lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h
M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h
M lldb/source/Symbol/SymbolFile.cpp
M lldb/source/Symbol/SymbolFileOnDemand.cpp
M lldb/source/Target/Statistics.cpp
M lldb/test/API/commands/target/debuginfo/TestDebugInfoSize.py
M lldb/test/API/functionalities/stats_api/TestStatisticsAPI.py
A lldb/test/API/functionalities/stats_api/main-main.dwo.yaml
A lldb/test/API/functionalities/stats_api/main.yaml
M llvm/docs/CommandGuide/llvm-exegesis.rst
M llvm/include/llvm/Analysis/AliasAnalysis.h
M llvm/include/llvm/Target/TargetPfmCounters.td
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86PfmCounters.td
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/test/Analysis/CostModel/AArch64/sve-intrinsics.ll
M llvm/test/Analysis/CostModel/PowerPC/insert_extract.ll
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-phi.mir
M llvm/test/CodeGen/AArch64/arm64_32.ll
M llvm/test/CodeGen/AArch64/insertextract.ll
A llvm/test/CodeGen/AArch64/stack-probing-no-scratch-reg.mir
M llvm/test/CodeGen/X86/vector-interleaved-store-i8-stride-8.ll
M llvm/test/MC/AArch64/arm64-optional-hash.s
M llvm/test/TableGen/HwModeEncodeDecode.td
M llvm/test/Transforms/InstCombine/and.ll
M llvm/test/Transforms/InstCombine/binop-cast.ll
M llvm/test/Transforms/InstCombine/sub-ashr-and-to-icmp-select.ll
A llvm/test/Transforms/LoopUnroll/AArch64/scalable-vec-ins-ext.ll
M llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp
M llvm/tools/llvm-exegesis/lib/BenchmarkResult.h
M llvm/tools/llvm-exegesis/lib/LatencyBenchmarkRunner.cpp
M llvm/tools/llvm-exegesis/llvm-exegesis.cpp
M llvm/utils/TableGen/DecoderEmitter.cpp
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
M openmp/runtime/test/atomic/kmp_atomic_float10_max_min.c
Log Message:
-----------
Merge remote-tracking branch 'origin/main' into users/fhahn/vplan-uniform-scalar-lanes
Compare: https://github.com/llvm/llvm-project/compare/ddf5f755fb12...89f7a80c0bdc
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