[all-commits] [llvm/llvm-project] 8615ea: [clang] NFCI: Make `ModuleFile::File` non-optional...

Justin Bogner via All-commits all-commits at lists.llvm.org
Sat Dec 9 12:33:19 PST 2023


  Branch: refs/heads/users/bogner/spr/hlsl-define-rasterizerorderedbuffer-resource
  Home:   https://github.com/llvm/llvm-project
  Commit: 8615ead9a6d37e6353df1b652aadebe71ec6c242
      https://github.com/llvm/llvm-project/commit/8615ead9a6d37e6353df1b652aadebe71ec6c242
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2023-12-08 (Fri, 08 Dec 2023)

  Changed paths:
    M clang/include/clang/Serialization/ModuleFile.h
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/GlobalModuleIndex.cpp
    M clang/lib/Serialization/ModuleManager.cpp

  Log Message:
  -----------
  [clang] NFCI: Make `ModuleFile::File` non-optional (#74892)

AFAICT, `ModuleFile::File` can be `std::nullopt` only for PCM files
loaded from the standard input. This patch starts setting that variable
to `FileManager::getSTDIN()` in that case, which makes it possible to
remove the optionality, and also simplifies code that actually reads the
file.

This is part of an effort to get rid of
`Optional{File,Directory}EntryRefDegradesTo{File,Directory}EntryPtr`.


  Commit: 437b4f1c2e2478381073bd8ae82fdb556e51b10e
      https://github.com/llvm/llvm-project/commit/437b4f1c2e2478381073bd8ae82fdb556e51b10e
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-12-08 (Fri, 08 Dec 2023)

  Changed paths:
    M compiler-rt/lib/orc/macho_platform.cpp

  Log Message:
  -----------
  [ORC-RT][ORC][MachO] Refactor dlsym to extract a reusable bulk-lookup API.

MachOPlatformRuntimeState::lookupSymbols encapsulates the approach used in
dlsym in bb41fc682ee, but generalizes it to multiple symbols:
  1. try to resolve symbols locally
  2. issue a push-request for any unresolved symbols
  3. re-try local resolution

In the future lookupSymbols can serve as the basis for a public bulk lookup
API in the ORC runtime.


  Commit: a5bdc4a4604272fa2b2c60fa9dde7aee05456162
      https://github.com/llvm/llvm-project/commit/a5bdc4a4604272fa2b2c60fa9dde7aee05456162
  Author: Florian Mayer <fmayer at google.com>
  Date:   2023-12-08 (Fri, 08 Dec 2023)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/combined.h
    M compiler-rt/lib/scudo/standalone/fuzz/get_error_info_fuzzer.cpp
    M compiler-rt/lib/scudo/standalone/wrappers_c_bionic.cpp

  Log Message:
  -----------
  [scudo] do not store size inside ring buffer (#74541)


  Commit: f1e3e8a14f056a0929f62e29c51667aa7dbe4db8
      https://github.com/llvm/llvm-project/commit/f1e3e8a14f056a0929f62e29c51667aa7dbe4db8
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2023-12-08 (Fri, 08 Dec 2023)

  Changed paths:
    M compiler-rt/lib/orc/macho_platform.cpp

  Log Message:
  -----------
  [ORC-RT][ORC][MachO] Fix build after 437b4f1c


  Commit: 0cb0a48cdea730e885e8c955ba1687a8191f824c
      https://github.com/llvm/llvm-project/commit/0cb0a48cdea730e885e8c955ba1687a8191f824c
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2023-12-08 (Fri, 08 Dec 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp
    M clang/include/clang/Basic/FileEntry.h
    M clang/include/clang/Basic/Module.h
    M clang/include/clang/Basic/SourceManager.h
    M clang/include/clang/Lex/PreprocessorLexer.h
    M clang/include/clang/Serialization/ModuleFile.h
    M clang/lib/Frontend/CompilerInstance.cpp
    M clang/lib/Lex/ModuleMap.cpp
    M clang/lib/Lex/PPDirectives.cpp
    M clang/lib/Lex/Pragma.cpp
    M clang/lib/Lex/PreprocessorLexer.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ModuleManager.cpp
    M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
    M clang/tools/libclang/CXIndexDataConsumer.cpp
    M clang/tools/libclang/CXIndexDataConsumer.h
    M clang/unittests/Basic/FileEntryTest.cpp

  Log Message:
  -----------
  [clang] NFC: Remove `OptionalFileEntryRefDegradesToFileEntryPtr` (#74899)


  Commit: cb92511c4d967df758819a21a7d5cf83e5ce65ae
      https://github.com/llvm/llvm-project/commit/cb92511c4d967df758819a21a7d5cf83e5ce65ae
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2023-12-08 (Fri, 08 Dec 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/IncludeCleanerCheck.cpp
    M clang-tools-extra/clangd/IncludeCleaner.cpp
    M clang-tools-extra/include-cleaner/lib/Analysis.cpp
    M clang/include/clang/Basic/DirectoryEntry.h
    M clang/include/clang/Basic/Module.h
    M clang/include/clang/Lex/ModuleMap.h
    M clang/lib/Serialization/ASTReader.cpp

  Log Message:
  -----------
  [clang] NFC: Remove `OptionalDirectoryEntryRefDegradesToDirectoryEntryPtr` (#74900)


  Commit: b88b480640f173582ffbfd2faae690f2bc895d14
      https://github.com/llvm/llvm-project/commit/b88b480640f173582ffbfd2faae690f2bc895d14
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-12-08 (Fri, 08 Dec 2023)

  Changed paths:
    M clang/include/clang/AST/Type.h
    M clang/lib/Analysis/UninitializedValues.cpp
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaDecl.cpp

  Log Message:
  -----------
  [RISCV] Remove Type::isRVVType() and replace with isRVVSizelessBuiltinType(). NFC

These both do the same thing, but some profiling on a
Releast+Asserts build suggests isRVVSizelessBuiltinType() is the
more efficient version so lets keep that one.


  Commit: ab20f23e7e65c7b19469e7d6e438ea14e22b9fff
      https://github.com/llvm/llvm-project/commit/ab20f23e7e65c7b19469e7d6e438ea14e22b9fff
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-12-08 (Fri, 08 Dec 2023)

  Changed paths:
    M llvm/include/llvm/DebugInfo/CodeView/CodeView.h
    M llvm/include/llvm/DebugInfo/PDB/Native/FormatUtil.h
    M llvm/lib/DebugInfo/PDB/Native/FormatUtil.cpp

  Log Message:
  -----------
  [DebugInfo] Use llvm::to_underlying (NFC)


  Commit: 9e3b1f7cfc1522b7a4863a25a3c6ec8d93c227e1
      https://github.com/llvm/llvm-project/commit/9e3b1f7cfc1522b7a4863a25a3c6ec8d93c227e1
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-12-08 (Fri, 08 Dec 2023)

  Changed paths:
    M llvm/lib/Bitcode/Reader/ValueList.cpp

  Log Message:
  -----------
  [Bitcode] Remove an unnecessary include (NFC)


  Commit: 74f6b2d0d747cd49864b1f6163d293c9524ee180
      https://github.com/llvm/llvm-project/commit/74f6b2d0d747cd49864b1f6163d293c9524ee180
  Author: Brad Smith <brad at comstyle.com>
  Date:   2023-12-08 (Fri, 08 Dec 2023)

  Changed paths:
    M llvm/tools/llvm-shlib/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Make ELF library handling path default for libLLVM (#74698)

Invert the logic and choose the ELF path by default as a fallback. Move
check for Darwin to the top.


  Commit: 57eb2054e308da7fb394375dedf8d7b627d1b528
      https://github.com/llvm/llvm-project/commit/57eb2054e308da7fb394375dedf8d7b627d1b528
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M clang/test/CXX/drs/dr2390.cpp
    M clang/test/CXX/drs/dr2406.cpp
    M clang/test/CXX/drs/dr26xx.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [clang][NFC] Fill in historical data on when C++ DRs 2000-2799 were fixed


  Commit: 312cb34da6a5529fbfaa1be62f1aa9bbb26ce506
      https://github.com/llvm/llvm-project/commit/312cb34da6a5529fbfaa1be62f1aa9bbb26ce506
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/Reassociate.h
    M llvm/lib/Transforms/Scalar/Reassociate.cpp
    M llvm/test/Transforms/Reassociate/local-cse.ll
    A llvm/test/Transforms/Reassociate/reassoc-mul-nuw.ll

  Log Message:
  -----------
  [Reassociate] Preserve NUW flags after expr tree rewriting (#72360)

Alive2: https://alive2.llvm.org/ce/z/38KiC_


  Commit: 6ed9a81f7ebd23f125867dd270785dd0e63043c6
      https://github.com/llvm/llvm-project/commit/6ed9a81f7ebd23f125867dd270785dd0e63043c6
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M clang/test/CXX/drs/dr20xx.cpp
    M clang/test/CXX/drs/dr21xx.cpp
    M clang/test/CXX/drs/dr22xx.cpp
    R clang/test/CXX/drs/dr2354.cpp
    M clang/test/CXX/drs/dr23xx.cpp
    R clang/test/CXX/drs/dr2406.cpp
    M clang/test/CXX/drs/dr24xx.cpp
    M clang/test/CXX/drs/dr25xx.cpp
    M clang/test/CXX/drs/dr26xx.cpp
    M clang/test/CXX/drs/dr27xx.cpp

  Log Message:
  -----------
  [clang][NFC] Refactor expected directives in C++ DRs 2000-2799 (#74921)

This patch continues the work started with ea5b1ef016d020c37f903d6c7d4f623be975dab8. See that commit and its
corresponding PR for details.


  Commit: b3000ecb3c165b7b14d997ee4ae96feed4e5e767
      https://github.com/llvm/llvm-project/commit/b3000ecb3c165b7b14d997ee4ae96feed4e5e767
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

  Log Message:
  -----------
  [SelectionDAG] Fix typo in comment


  Commit: b3e6ff331925dde24a4707452d657da0fdf7f588
      https://github.com/llvm/llvm-project/commit/b3e6ff331925dde24a4707452d657da0fdf7f588
  Author: Richard Dzenis <dzenis at richard.lv>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/docs/UsersManual.rst
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/LangOptions.h
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/Basic/Targets/OSTargets.cpp
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaStmtAttr.cpp
    A clang/test/AST/ms-constexpr.cpp
    M clang/test/Driver/cl-options.c
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test
    A clang/test/SemaCXX/ms-constexpr-invalid.cpp
    A clang/test/SemaCXX/ms-constexpr-new.cpp
    A clang/test/SemaCXX/ms-constexpr.cpp

  Log Message:
  -----------
  [clang-cl] Add support for [[msvc::constexpr]] C++11 attribute (#71300)

This commit introduces support for the MSVC-specific C++11-style
attribute `[[msvc::constexpr]]`, which was introduced in MSVC 14.33.
The semantics of this attribute are enabled only under
MSVC compatibility (`-fms-compatibility-version`) 14.33 and higher.
Additionally, the default value of `_MSC_VER` has been raised to 1433.

The current implementation lacks support for:
- `[[msvc::constexpr]]` constructors (see #72149);
  at the time of this implementation, such support would have required
  an unreasonable number of changes in Clang.
- `[[msvc::constexpr]] return ::new` (constexpr placement new) from
  non-std namespaces (see #74924).

Relevant to: #57696


  Commit: fa981f57dde30fdae3c169182f5a354f375cff7a
      https://github.com/llvm/llvm-project/commit/fa981f57dde30fdae3c169182f5a354f375cff7a
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel

  Log Message:
  -----------
  [bazel] Port 46708a5bcba28955b2ddeddf5c0e64398223642b


  Commit: 3ec6c72551846b8f4143c8c101a1a6203e85a2aa
      https://github.com/llvm/llvm-project/commit/3ec6c72551846b8f4143c8c101a1a6203e85a2aa
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M clang/lib/AST/ExprConstant.cpp

  Log Message:
  -----------
  [AST] Fix -Wlogical-op-parentheses in ExprConstant.cpp (NFC)

llvm-project/clang/lib/AST/ExprConstant.cpp:5645:74: error: '&&' within '||' [-Werror,-Wlogical-op-parentheses]
 5645 |       (Definition->isConstexpr() || Info.CurrentCall->CanEvalMSConstexpr &&
      |                                  ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
 5646 |                                         Definition->hasAttr<MSConstexprAttr>()))
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
llvm-project/clang/lib/AST/ExprConstant.cpp:5645:74: note: place parentheses around the '&&' expression to silence this warning
 5645 |       (Definition->isConstexpr() || Info.CurrentCall->CanEvalMSConstexpr &&
      |                                                                          ^
      |                                     (
 5646 |                                         Definition->hasAttr<MSConstexprAttr>()))
      |
      |                                                                               )
1 error generated.


  Commit: e3f154d8733928fa725584736a18b75832db30db
      https://github.com/llvm/llvm-project/commit/e3f154d8733928fa725584736a18b75832db30db
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M libcxx/docs/ReleaseNotes/18.rst
    M libcxx/docs/Status/Cxx2cPapers.csv
    M libcxx/docs/Status/FormatIssues.csv
    M libcxx/include/__format/format_arg_store.h
    M libcxx/include/__format/format_functions.h
    M libcxx/include/format
    M libcxx/test/std/input.output/iostream.format/print.fun/no_file_description.pass.cpp
    M libcxx/test/std/input.output/iostream.format/print.fun/vprint_nonunicode.sh.cpp
    M libcxx/test/std/input.output/iostream.format/print.fun/vprint_unicode.sh.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.arg.store/make_format_args.pass.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.arg.store/make_format_args.sh.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.arg.store/make_wformat_args.pass.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.args/ctad.compile.pass.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.args/ctor.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/arg.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/ctor.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/locale.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.string.pass.cpp

  Log Message:
  -----------
  [libc++] Implements Runtime format strings. (#73353)

This change requires quite a number of changes in the tests; this is not
code I expect people to use in the wild. So I don't expect breakage for
users.

Implements:
- P2905R2 Runtime format strings, as a Defect Report


  Commit: a17671084db17bbe45d96024af30e172b350c66d
      https://github.com/llvm/llvm-project/commit/a17671084db17bbe45d96024af30e172b350c66d
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/ArmSME/Transforms/Passes.td

  Log Message:
  -----------
  [mlir][ArmSME] Update `-allocate-arm-sme-tiles` description (NFC) (#74871)


  Commit: 600462a2db7c044896122acfb347ce2d4d88271f
      https://github.com/llvm/llvm-project/commit/600462a2db7c044896122acfb347ce2d4d88271f
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M libcxx/modules/CMakeLists.txt
    M libcxx/modules/CMakeLists.txt.in
    A libcxx/modules/std.compat.cppm.in
    A libcxx/modules/std.compat/cassert.inc
    A libcxx/modules/std.compat/cctype.inc
    A libcxx/modules/std.compat/cerrno.inc
    A libcxx/modules/std.compat/cfenv.inc
    A libcxx/modules/std.compat/cfloat.inc
    A libcxx/modules/std.compat/cinttypes.inc
    A libcxx/modules/std.compat/climits.inc
    A libcxx/modules/std.compat/clocale.inc
    A libcxx/modules/std.compat/cmath.inc
    A libcxx/modules/std.compat/csetjmp.inc
    A libcxx/modules/std.compat/csignal.inc
    A libcxx/modules/std.compat/cstdarg.inc
    A libcxx/modules/std.compat/cstddef.inc
    A libcxx/modules/std.compat/cstdint.inc
    A libcxx/modules/std.compat/cstdio.inc
    A libcxx/modules/std.compat/cstdlib.inc
    A libcxx/modules/std.compat/cstring.inc
    A libcxx/modules/std.compat/ctime.inc
    A libcxx/modules/std.compat/cuchar.inc
    A libcxx/modules/std.compat/cwchar.inc
    A libcxx/modules/std.compat/cwctype.inc
    M libcxx/modules/std.cppm.in
    M libcxx/test/libcxx/module_std.gen.py
    A libcxx/test/libcxx/module_std_compat.gen.py
    M libcxx/test/lit.local.cfg
    A libcxx/test/std/modules/std.compat.pass.cpp
    M libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp
    M libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.hpp
    M libcxx/utils/CMakeLists.txt
    A libcxx/utils/generate_libcxx_cppm_in.py
    R libcxx/utils/generate_std_cppm_in.py
    A libcxx/utils/libcxx/test/modules.py

  Log Message:
  -----------
  [libc++][modules] Adds std.compat module. (#71438)

This adds the std.compat module. The patch contains a bit of refactoring
to avoid code duplication between the std and std.compat module.

Implements parts of
- P2465R3 Standard Library Modules std and std.compat


  Commit: 4cfdef76a2228b1b52df82fc83f58b9453397d98
      https://github.com/llvm/llvm-project/commit/4cfdef76a2228b1b52df82fc83f58b9453397d98
  Author: Richard Dzenis <dzenis at richard.lv>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M clang/test/SemaCXX/ms-constexpr-new.cpp

  Log Message:
  -----------
  [clang] Fix '__cdecl' CC is not supported for this target (#74932)

Fixes regression introduced in b3e6ff331925dde24a4707452d657da0fdf7f588
Fixes bot failure https://lab.llvm.org/buildbot/#/builders/60/builds/15037
```
    .---command stderr------------
    | error: 'supported-warning' diagnostics seen but not expected:
    | File C:\buildbot\as-builder-1\x-armv7l\llvm-project\clang\test\SemaCXX\ms-constexpr-new.cpp Line 7: '__cdecl' calling convention is not supported for this target
    | 1 error generated.
    `-----------------------------
```


  Commit: b5a6e8a433e9ecc0e3a05fc428d515f3a12413cf
      https://github.com/llvm/llvm-project/commit/b5a6e8a433e9ecc0e3a05fc428d515f3a12413cf
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M libcxx/include/any

  Log Message:
  -----------
  [NFC][libc++] Rewrites a return statement.

This fixes a clang-tidy diagnostic when building libc++ with RTTI
disabled. This was originally part of #65518.


  Commit: 54e2749609d7114f4a48f4146cddeecf76d935a4
      https://github.com/llvm/llvm-project/commit/54e2749609d7114f4a48f4146cddeecf76d935a4
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M clang/include/clang/Basic/TargetInfo.h

  Log Message:
  -----------
  [clang] Adjust TargetInfo bitfield (#74893)

An 8 bit bitfield should not have a preferred type of bool.


  Commit: 08cb64034f17d50a660ec78ce8ea81a025b0ba71
      https://github.com/llvm/llvm-project/commit/08cb64034f17d50a660ec78ce8ea81a025b0ba71
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/WebAssembly.cpp

  Log Message:
  -----------
  [NFC] Remove an unused decl to avoid warning


  Commit: 7a13e410fd40d4ee2c89355f3d2f9a309cdff2c7
      https://github.com/llvm/llvm-project/commit/7a13e410fd40d4ee2c89355f3d2f9a309cdff2c7
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.h
    M clang/lib/Sema/HLSLExternalSemaSource.cpp
    M clang/test/CodeGenHLSL/builtins/RWBuffer-annotations.hlsl
    M clang/test/CodeGenHLSL/cbuf.hlsl
    M llvm/include/llvm/Frontend/HLSL/HLSLResource.h
    M llvm/lib/Frontend/HLSL/HLSLResource.cpp
    M llvm/lib/Target/DirectX/DXILResource.cpp
    M llvm/test/CodeGen/DirectX/UAVMetadata.ll
    M llvm/test/CodeGen/DirectX/cbuf.ll
    M llvm/test/CodeGen/DirectX/legacy_cb_layout_0.ll
    M llvm/test/CodeGen/DirectX/legacy_cb_layout_1.ll
    M llvm/test/CodeGen/DirectX/legacy_cb_layout_2.ll
    M llvm/test/CodeGen/DirectX/legacy_cb_layout_3.ll

  Log Message:
  -----------
  [DirectX] Move ROV info into HLSL metadata. NFC

Pull Request: https://github.com/llvm/llvm-project/pull/74896


  Commit: 84b907d217776efcfca5c7d2cce7b279f09265a6
      https://github.com/llvm/llvm-project/commit/84b907d217776efcfca5c7d2cce7b279f09265a6
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M clang/lib/Sema/SemaRISCVVectorLookup.cpp

  Log Message:
  -----------
  [RISCV] Remove Name and OverloadedName from RVVIntrinsicDef. NFC (#74907)

These names are never used so just waste a lot of memory. If do need
them ever, it would be better to store pointers to the StringMapEntry
objects that store the same strings.


  Commit: 9596676e6586767e7ae412ed26fbd8e3a16a4c18
      https://github.com/llvm/llvm-project/commit/9596676e6586767e7ae412ed26fbd8e3a16a4c18
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M bolt/lib/Core/Exceptions.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp

  Log Message:
  -----------
  [BOLT] Determine address size from binary (#74870)

Query the executable for address size.


  Commit: feb4eec0e01b00d008aaab726e6545f4bdd95a06
      https://github.com/llvm/llvm-project/commit/feb4eec0e01b00d008aaab726e6545f4bdd95a06
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M bolt/lib/Core/Exceptions.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M clang-tools-extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp
    M clang-tools-extra/clang-tidy/misc/IncludeCleanerCheck.cpp
    M clang-tools-extra/clangd/IncludeCleaner.cpp
    M clang-tools-extra/include-cleaner/lib/Analysis.cpp
    M clang/docs/ReleaseNotes.rst
    M clang/docs/UsersManual.rst
    M clang/include/clang/AST/Type.h
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/DirectoryEntry.h
    M clang/include/clang/Basic/FileEntry.h
    M clang/include/clang/Basic/LangOptions.h
    M clang/include/clang/Basic/Module.h
    M clang/include/clang/Basic/SourceManager.h
    M clang/include/clang/Basic/TargetInfo.h
    M clang/include/clang/Lex/ModuleMap.h
    M clang/include/clang/Lex/PreprocessorLexer.h
    M clang/include/clang/Serialization/ModuleFile.h
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/Analysis/UninitializedValues.cpp
    M clang/lib/Basic/Targets/OSTargets.cpp
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/lib/Driver/ToolChains/WebAssembly.cpp
    M clang/lib/Frontend/CompilerInstance.cpp
    M clang/lib/Lex/ModuleMap.cpp
    M clang/lib/Lex/PPDirectives.cpp
    M clang/lib/Lex/Pragma.cpp
    M clang/lib/Lex/PreprocessorLexer.cpp
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaRISCVVectorLookup.cpp
    M clang/lib/Sema/SemaStmtAttr.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/GlobalModuleIndex.cpp
    M clang/lib/Serialization/ModuleManager.cpp
    M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
    A clang/test/AST/ms-constexpr.cpp
    M clang/test/CXX/drs/dr20xx.cpp
    M clang/test/CXX/drs/dr21xx.cpp
    M clang/test/CXX/drs/dr22xx.cpp
    R clang/test/CXX/drs/dr2354.cpp
    M clang/test/CXX/drs/dr2390.cpp
    M clang/test/CXX/drs/dr23xx.cpp
    R clang/test/CXX/drs/dr2406.cpp
    M clang/test/CXX/drs/dr24xx.cpp
    M clang/test/CXX/drs/dr25xx.cpp
    M clang/test/CXX/drs/dr26xx.cpp
    M clang/test/CXX/drs/dr27xx.cpp
    M clang/test/Driver/cl-options.c
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test
    A clang/test/SemaCXX/ms-constexpr-invalid.cpp
    A clang/test/SemaCXX/ms-constexpr-new.cpp
    A clang/test/SemaCXX/ms-constexpr.cpp
    M clang/tools/libclang/CXIndexDataConsumer.cpp
    M clang/tools/libclang/CXIndexDataConsumer.h
    M clang/unittests/Basic/FileEntryTest.cpp
    M clang/www/cxx_dr_status.html
    M compiler-rt/lib/orc/macho_platform.cpp
    M compiler-rt/lib/scudo/standalone/combined.h
    M compiler-rt/lib/scudo/standalone/fuzz/get_error_info_fuzzer.cpp
    M compiler-rt/lib/scudo/standalone/wrappers_c_bionic.cpp
    M libcxx/docs/ReleaseNotes/18.rst
    M libcxx/docs/Status/Cxx2cPapers.csv
    M libcxx/docs/Status/FormatIssues.csv
    M libcxx/include/__format/format_arg_store.h
    M libcxx/include/__format/format_functions.h
    M libcxx/include/any
    M libcxx/include/format
    M libcxx/modules/CMakeLists.txt
    M libcxx/modules/CMakeLists.txt.in
    A libcxx/modules/std.compat.cppm.in
    A libcxx/modules/std.compat/cassert.inc
    A libcxx/modules/std.compat/cctype.inc
    A libcxx/modules/std.compat/cerrno.inc
    A libcxx/modules/std.compat/cfenv.inc
    A libcxx/modules/std.compat/cfloat.inc
    A libcxx/modules/std.compat/cinttypes.inc
    A libcxx/modules/std.compat/climits.inc
    A libcxx/modules/std.compat/clocale.inc
    A libcxx/modules/std.compat/cmath.inc
    A libcxx/modules/std.compat/csetjmp.inc
    A libcxx/modules/std.compat/csignal.inc
    A libcxx/modules/std.compat/cstdarg.inc
    A libcxx/modules/std.compat/cstddef.inc
    A libcxx/modules/std.compat/cstdint.inc
    A libcxx/modules/std.compat/cstdio.inc
    A libcxx/modules/std.compat/cstdlib.inc
    A libcxx/modules/std.compat/cstring.inc
    A libcxx/modules/std.compat/ctime.inc
    A libcxx/modules/std.compat/cuchar.inc
    A libcxx/modules/std.compat/cwchar.inc
    A libcxx/modules/std.compat/cwctype.inc
    M libcxx/modules/std.cppm.in
    M libcxx/test/libcxx/module_std.gen.py
    A libcxx/test/libcxx/module_std_compat.gen.py
    M libcxx/test/lit.local.cfg
    M libcxx/test/std/input.output/iostream.format/print.fun/no_file_description.pass.cpp
    M libcxx/test/std/input.output/iostream.format/print.fun/vprint_nonunicode.sh.cpp
    M libcxx/test/std/input.output/iostream.format/print.fun/vprint_unicode.sh.cpp
    A libcxx/test/std/modules/std.compat.pass.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.arg.store/make_format_args.pass.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.arg.store/make_format_args.sh.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.arg.store/make_wformat_args.pass.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.args/ctad.compile.pass.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.args/ctor.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/arg.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/ctor.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/locale.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.string.pass.cpp
    M libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp
    M libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.hpp
    M libcxx/utils/CMakeLists.txt
    A libcxx/utils/generate_libcxx_cppm_in.py
    R libcxx/utils/generate_std_cppm_in.py
    A libcxx/utils/libcxx/test/modules.py
    M llvm/include/llvm/DebugInfo/CodeView/CodeView.h
    M llvm/include/llvm/DebugInfo/PDB/Native/FormatUtil.h
    M llvm/include/llvm/Transforms/Scalar/Reassociate.h
    M llvm/lib/Bitcode/Reader/ValueList.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/DebugInfo/PDB/Native/FormatUtil.cpp
    M llvm/lib/Transforms/Scalar/Reassociate.cpp
    M llvm/test/Transforms/Reassociate/local-cse.ll
    A llvm/test/Transforms/Reassociate/reassoc-mul-nuw.ll
    M llvm/tools/llvm-shlib/CMakeLists.txt
    M mlir/include/mlir/Dialect/ArmSME/Transforms/Passes.td
    M utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5-bogner

[skip ci]


  Commit: dfd8e56b80b1bf14d701a3f59550148e850ae1f2
      https://github.com/llvm/llvm-project/commit/dfd8e56b80b1bf14d701a3f59550148e850ae1f2
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M bolt/lib/Core/Exceptions.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M clang-tools-extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp
    M clang-tools-extra/clang-tidy/misc/IncludeCleanerCheck.cpp
    M clang-tools-extra/clangd/IncludeCleaner.cpp
    M clang-tools-extra/include-cleaner/lib/Analysis.cpp
    M clang/docs/ReleaseNotes.rst
    M clang/docs/UsersManual.rst
    M clang/include/clang/AST/Type.h
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/DirectoryEntry.h
    M clang/include/clang/Basic/FileEntry.h
    M clang/include/clang/Basic/LangOptions.h
    M clang/include/clang/Basic/Module.h
    M clang/include/clang/Basic/SourceManager.h
    M clang/include/clang/Basic/TargetInfo.h
    M clang/include/clang/Lex/ModuleMap.h
    M clang/include/clang/Lex/PreprocessorLexer.h
    M clang/include/clang/Serialization/ModuleFile.h
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/Analysis/UninitializedValues.cpp
    M clang/lib/Basic/Targets/OSTargets.cpp
    M clang/lib/Driver/ToolChains/MSVC.cpp
    M clang/lib/Driver/ToolChains/WebAssembly.cpp
    M clang/lib/Frontend/CompilerInstance.cpp
    M clang/lib/Lex/ModuleMap.cpp
    M clang/lib/Lex/PPDirectives.cpp
    M clang/lib/Lex/Pragma.cpp
    M clang/lib/Lex/PreprocessorLexer.cpp
    M clang/lib/Sema/HLSLExternalSemaSource.cpp
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaRISCVVectorLookup.cpp
    M clang/lib/Sema/SemaStmtAttr.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/GlobalModuleIndex.cpp
    M clang/lib/Serialization/ModuleManager.cpp
    M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
    A clang/test/AST/ms-constexpr.cpp
    M clang/test/CXX/drs/dr20xx.cpp
    M clang/test/CXX/drs/dr21xx.cpp
    M clang/test/CXX/drs/dr22xx.cpp
    R clang/test/CXX/drs/dr2354.cpp
    M clang/test/CXX/drs/dr2390.cpp
    M clang/test/CXX/drs/dr23xx.cpp
    R clang/test/CXX/drs/dr2406.cpp
    M clang/test/CXX/drs/dr24xx.cpp
    M clang/test/CXX/drs/dr25xx.cpp
    M clang/test/CXX/drs/dr26xx.cpp
    M clang/test/CXX/drs/dr27xx.cpp
    M clang/test/Driver/cl-options.c
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test
    A clang/test/SemaCXX/ms-constexpr-invalid.cpp
    A clang/test/SemaCXX/ms-constexpr-new.cpp
    A clang/test/SemaCXX/ms-constexpr.cpp
    M clang/tools/libclang/CXIndexDataConsumer.cpp
    M clang/tools/libclang/CXIndexDataConsumer.h
    M clang/unittests/Basic/FileEntryTest.cpp
    M clang/www/cxx_dr_status.html
    M compiler-rt/lib/orc/macho_platform.cpp
    M compiler-rt/lib/scudo/standalone/combined.h
    M compiler-rt/lib/scudo/standalone/fuzz/get_error_info_fuzzer.cpp
    M compiler-rt/lib/scudo/standalone/wrappers_c_bionic.cpp
    M libcxx/docs/ReleaseNotes/18.rst
    M libcxx/docs/Status/Cxx2cPapers.csv
    M libcxx/docs/Status/FormatIssues.csv
    M libcxx/include/__format/format_arg_store.h
    M libcxx/include/__format/format_functions.h
    M libcxx/include/any
    M libcxx/include/format
    M libcxx/modules/CMakeLists.txt
    M libcxx/modules/CMakeLists.txt.in
    A libcxx/modules/std.compat.cppm.in
    A libcxx/modules/std.compat/cassert.inc
    A libcxx/modules/std.compat/cctype.inc
    A libcxx/modules/std.compat/cerrno.inc
    A libcxx/modules/std.compat/cfenv.inc
    A libcxx/modules/std.compat/cfloat.inc
    A libcxx/modules/std.compat/cinttypes.inc
    A libcxx/modules/std.compat/climits.inc
    A libcxx/modules/std.compat/clocale.inc
    A libcxx/modules/std.compat/cmath.inc
    A libcxx/modules/std.compat/csetjmp.inc
    A libcxx/modules/std.compat/csignal.inc
    A libcxx/modules/std.compat/cstdarg.inc
    A libcxx/modules/std.compat/cstddef.inc
    A libcxx/modules/std.compat/cstdint.inc
    A libcxx/modules/std.compat/cstdio.inc
    A libcxx/modules/std.compat/cstdlib.inc
    A libcxx/modules/std.compat/cstring.inc
    A libcxx/modules/std.compat/ctime.inc
    A libcxx/modules/std.compat/cuchar.inc
    A libcxx/modules/std.compat/cwchar.inc
    A libcxx/modules/std.compat/cwctype.inc
    M libcxx/modules/std.cppm.in
    M libcxx/test/libcxx/module_std.gen.py
    A libcxx/test/libcxx/module_std_compat.gen.py
    M libcxx/test/lit.local.cfg
    M libcxx/test/std/input.output/iostream.format/print.fun/no_file_description.pass.cpp
    M libcxx/test/std/input.output/iostream.format/print.fun/vprint_nonunicode.sh.cpp
    M libcxx/test/std/input.output/iostream.format/print.fun/vprint_unicode.sh.cpp
    A libcxx/test/std/modules/std.compat.pass.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.arg.store/make_format_args.pass.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.arg.store/make_format_args.sh.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.arg.store/make_wformat_args.pass.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.args/ctad.compile.pass.cpp
    M libcxx/test/std/utilities/format/format.arguments/format.args/ctor.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/arg.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/ctor.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.context/format.context/locale.pass.cpp
    M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.string.pass.cpp
    M libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.cpp
    M libcxx/test/tools/clang_tidy_checks/header_exportable_declarations.hpp
    M libcxx/utils/CMakeLists.txt
    A libcxx/utils/generate_libcxx_cppm_in.py
    R libcxx/utils/generate_std_cppm_in.py
    A libcxx/utils/libcxx/test/modules.py
    M llvm/include/llvm/DebugInfo/CodeView/CodeView.h
    M llvm/include/llvm/DebugInfo/PDB/Native/FormatUtil.h
    M llvm/include/llvm/Transforms/Scalar/Reassociate.h
    M llvm/lib/Bitcode/Reader/ValueList.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/DebugInfo/PDB/Native/FormatUtil.cpp
    M llvm/lib/Transforms/Scalar/Reassociate.cpp
    M llvm/test/Transforms/Reassociate/local-cse.ll
    A llvm/test/Transforms/Reassociate/reassoc-mul-nuw.ll
    M llvm/tools/llvm-shlib/CMakeLists.txt
    M mlir/include/mlir/Dialect/ArmSME/Transforms/Passes.td
    M utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel

  Log Message:
  -----------
  clang-format

Created using spr 1.3.5-bogner


Compare: https://github.com/llvm/llvm-project/compare/2dfc247aefb5...dfd8e56b80b1


More information about the All-commits mailing list