[all-commits] [llvm/llvm-project] 2205d2: Revert "[Sema] Fix crash on invalid code with pare...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri Dec 22 23:39:21 PST 2023


  Branch: refs/heads/users/vitalybuka/spr/sanitizers-optimize-locking-stackdepotbase-for-fork
  Home:   https://github.com/llvm/llvm-project
  Commit: 2205d2334f3c859ad9f6c65ed950bfb3bb6f7cbe
      https://github.com/llvm/llvm-project/commit/2205d2334f3c859ad9f6c65ed950bfb3bb6f7cbe
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-12-22 (Fri, 22 Dec 2023)

  Changed paths:
    M clang/lib/Sema/SemaInit.cpp
    R clang/test/SemaCXX/crash-GH76228.cpp
    M clang/test/SemaCXX/paren-list-agg-init.cpp

  Log Message:
  -----------
  Revert "[Sema] Fix crash on invalid code with parenthesized aggregate initialization" (#76272)

Reverts llvm/llvm-project#76232 and
7ab16fb5207fe187ab999f882069bd632d2e68e5 to recover build bots.

Breaks libc++ tests, details in #76232

#76228


  Commit: 63c314835458211b165e48b2278800ea6d52620a
      https://github.com/llvm/llvm-project/commit/63c314835458211b165e48b2278800ea6d52620a
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-12-22 (Fri, 22 Dec 2023)

  Changed paths:
    M llvm/test/tools/llvm-exegesis/X86/latency/subprocess-preserved-registers.s
    M llvm/tools/llvm-exegesis/lib/Assembler.cpp

  Log Message:
  -----------
  [llvm-exegesis] Fix stack pointer register restoration

9eb80ab3787e1851be8c686651688e870b93506b changed the method for stack
pointer restoration to fix segmentation faults. However, I made a
mistake in the patch and swapped a != for a ==, which caused an
arbitrary register (the first one specified) to get restored rather than
the stack pointer specifically. This patch fixes that issue and adds
test coverage to prevent regression.


  Commit: 61b5cc6654addf2f1c84c8c3e49f98ad6f022cb9
      https://github.com/llvm/llvm-project/commit/61b5cc6654addf2f1c84c8c3e49f98ad6f022cb9
  Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
  Date:   2023-12-23 (Sat, 23 Dec 2023)

  Changed paths:
    M llvm/include/llvm/IR/GenericConvergenceVerifierImpl.h
    M llvm/include/llvm/IR/IntrinsicInst.h

  Log Message:
  -----------
  [LLVM] ConvergenceControlInst as a derived class of IntrinsicInst (#76230)


  Commit: bbe1b06fbb7127d613cb4958e06c737967878388
      https://github.com/llvm/llvm-project/commit/bbe1b06fbb7127d613cb4958e06c737967878388
  Author: smanna12 <soumi.manna at intel.com>
  Date:   2023-12-22 (Fri, 22 Dec 2023)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp

  Log Message:
  -----------
  [NFC][CLANG] Fix static analyzer bugs about unnecessary object copies with auto keyword (#75082)

Reported by Static Analyzer Tool:

In ​EmitAssemblyHelper::​RunOptimizationPipeline(): Using the auto
keyword without an & causes the copy of an object of type function.

 /// List of pass builder callbacks ("CodeGenOptions.h").
std::vector<std::function<void(llvm::PassBuilder &)>>
PassBuilderCallbacks;


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

  Changed paths:
    M clang/test/CodeGen/RISCV/rvb-intrinsics/zbb.c

  Log Message:
  -----------
  [RISCV] Use riscv_bitmanip.h in zbb.c. NFC

I missed this when converting other scalar bitmanip/crypto tests
to use intrinsics intead of builtins.


  Commit: f8f8926054dcf47cb0f3166be8d6961afc979290
      https://github.com/llvm/llvm-project/commit/f8f8926054dcf47cb0f3166be8d6961afc979290
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2023-12-22 (Fri, 22 Dec 2023)

  Changed paths:
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/unittests/Format/TokenAnnotatorTest.cpp

  Log Message:
  -----------
  [clang-format] Fix a bug in annotating function declaration names (#76206)

Annotates function declaration names having unnamed parameters.


  Commit: 8097a5d37b70f483d9e441d78aa7f689618fa795
      https://github.com/llvm/llvm-project/commit/8097a5d37b70f483d9e441d78aa7f689618fa795
  Author: XDeme <66138117+XDeme at users.noreply.github.com>
  Date:   2023-12-22 (Fri, 22 Dec 2023)

  Changed paths:
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Fix operator overload inconsistency in `BreakAfterAttributes: Always` (#74943)

Fixes llvm/llvm-project#74901


  Commit: f78a742ab8fc0290742db28a61feef21aa0ecf97
      https://github.com/llvm/llvm-project/commit/f78a742ab8fc0290742db28a61feef21aa0ecf97
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-12-22 (Fri, 22 Dec 2023)

  Changed paths:
    M compiler-rt/lib/asan/asan_posix.cpp
    M compiler-rt/lib/dfsan/dfsan_chained_origin_depot.cpp
    M compiler-rt/lib/dfsan/dfsan_chained_origin_depot.h
    M compiler-rt/lib/dfsan/dfsan_custom.cpp
    M compiler-rt/lib/hwasan/hwasan_linux.cpp
    M compiler-rt/lib/lsan/lsan_posix.cpp
    M compiler-rt/lib/msan/msan_chained_origin_depot.cpp
    M compiler-rt/lib/msan/msan_chained_origin_depot.h
    M compiler-rt/lib/msan/msan_linux.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.h

  Log Message:
  -----------
  [NFC][sanitizer] Rename Lock{Before,After}Fork suffixes locking StackDepotBase (#76279)

This is preparation for performance optimization.

We need to highlight that this is very specific lock, and should not be
used for other purposes.
Add `fork_child` parameter to distinguish processes after fork.


  Commit: 05584dc62fad9dbda7866fd171e61cb88d7ab450
      https://github.com/llvm/llvm-project/commit/05584dc62fad9dbda7866fd171e61cb88d7ab450
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-12-22 (Fri, 22 Dec 2023)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/test/CodeGen/RISCV/rvb-intrinsics/zbb.c
    R clang/test/SemaCXX/crash-GH76228.cpp
    M clang/test/SemaCXX/paren-list-agg-init.cpp
    M clang/unittests/Format/FormatTest.cpp
    M clang/unittests/Format/TokenAnnotatorTest.cpp
    M llvm/include/llvm/IR/GenericConvergenceVerifierImpl.h
    M llvm/include/llvm/IR/IntrinsicInst.h
    M llvm/test/tools/llvm-exegesis/X86/latency/subprocess-preserved-registers.s
    M llvm/tools/llvm-exegesis/lib/Assembler.cpp

  Log Message:
  -----------
  rebase

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/bfca693347b0...05584dc62fad


More information about the All-commits mailing list