[all-commits] [llvm/llvm-project] 1c1748: [RISCV] Use RVInst16CB for C_SRLI64_HINT and C_SRA...

Paul Kirth via All-commits all-commits at lists.llvm.org
Mon Oct 14 16:36:07 PDT 2024


  Branch: refs/heads/users/ilovepi/spr/libcxxcmake-allow-using-fatlto-in-libc-builds
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c17484e107523af2583dd62537902202ce8f2e7
      https://github.com/llvm/llvm-project/commit/1c17484e107523af2583dd62537902202ce8f2e7
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoC.td

  Log Message:
  -----------
  [RISCV] Use RVInst16CB for C_SRLI64_HINT and C_SRAI64_HINT. (#112250)

c.srli(64) and c.srai(64) are encoded differently than c.slli(64). The
former have a 3-bit register, while the latter has a 5-bit register.
c.srli and c.srai already use RVInst16CB.

The "let Inst{11-10} =" prevented this from causing any functional
issues by dropping the upper 2 bits of the register. The ins/outs list
uses GPRC so the register class is constrained.


  Commit: d8de2391eb014fb3f750f4c38abc101edc1e2cc2
      https://github.com/llvm/llvm-project/commit/d8de2391eb014fb3f750f4c38abc101edc1e2cc2
  Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    M lldb/source/Commands/CommandObjectTarget.cpp
    M lldb/source/Symbol/UnwindTable.cpp
    R lldb/test/Shell/Unwind/Inputs/basic-block-sections-with-dwarf.s
    R lldb/test/Shell/Unwind/Inputs/linux-x86_64.yaml
    R lldb/test/Shell/Unwind/basic-block-sections-with-dwarf-static.test
    R lldb/test/Shell/Unwind/basic-block-sections-with-dwarf.test

  Log Message:
  -----------
  Revert "[lldb] Improve unwinding for discontinuous functions (#111409)"

This reverts commit a89e01634fe2e6ce0b967ead24280b6693b523dc.

This is being reverted because it broke the test:

Unwind/trap_frame_sym_ctx.test

/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake/llvm-project/lldb/test/Shell/Unwind/trap_frame_sym_ctx.test:21:10: error: CHECK: expected string not found in input
 CHECK: frame #2: {{.*}}`main


  Commit: f032622dd2e4df931f929636667c8006d583b551
      https://github.com/llvm/llvm-project/commit/f032622dd2e4df931f929636667c8006d583b551
  Author: k-kashapov <52855633+k-kashapov at users.noreply.github.com>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    A llvm/test/Instrumentation/MemorySanitizer/ARM32/vararg-arm32.ll
    A llvm/test/Instrumentation/MemorySanitizer/Mips32/vararg-mips.ll
    A llvm/test/Instrumentation/MemorySanitizer/Mips32/vararg-mipsel.ll
    A llvm/test/Instrumentation/MemorySanitizer/PowerPC32/kernel-ppcle.ll
    A llvm/test/Instrumentation/MemorySanitizer/PowerPC32/vararg-ppc.ll
    A llvm/test/Instrumentation/MemorySanitizer/PowerPC32/vararg-ppcle.ll
    A llvm/test/Instrumentation/MemorySanitizer/RISCV32/vararg-riscv32.ll
    R llvm/test/Instrumentation/MemorySanitizer/X86/vararg.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/avx-intrinsics-x86.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/avx2-intrinsics-x86.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/mmx-intrinsics.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/msan_x86_bts_asm.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/msan_x86intrinsics.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/sse-intrinsics-x86.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/sse2-intrinsics-x86.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/sse41-intrinsics-x86.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/vararg-too-large.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/vararg.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/vararg_call.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/vararg_shadow.ll

  Log Message:
  -----------
  [MSan] Copy tests for 32-bit architectures (#111835)

As discussed in https://github.com/llvm/llvm-project/pull/109284
Copied msan tests from 64-bit platforms to following 32-bit platforms:
* MIPS
* ARM
* RISCV
* PowerPC
* i386

Most of the tests have been copied form mips64.
Target triple and test contents have not been changed: to be done in
next PR.

---------

Co-authored-by: Kamil Kashapov <kashapov at ispras.ru>


  Commit: 3484ed9325f30b56717a1b939af4c58dd07848e0
      https://github.com/llvm/llvm-project/commit/3484ed9325f30b56717a1b939af4c58dd07848e0
  Author: Nicolas van Kempen <nvankemp at gmail.com>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    M clang-tools-extra/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [docs][clang-tools-extra] Fix broken document link in ReleaseNotes.rst

Fixes the following error:
```
clang-tools-extra/docs/ReleaseNotes.rst:247: WARNING: unknown document: 'clang-tidy/checks/readability/readability-identifier-naming' [ref.doc]
```


  Commit: fc08ad6610c66856f48559e543eb7be317e908e7
      https://github.com/llvm/llvm-project/commit/fc08ad6610c66856f48559e543eb7be317e908e7
  Author: vporpo <vporpodas at google.com>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.h
    M llvm/lib/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.cpp
    M llvm/unittests/Transforms/Vectorize/SandboxVectorizer/DependencyGraphTest.cpp

  Log Message:
  -----------
  [SandboxVec][DAG] Implement UnscheduledSuccs (#112255)

This patch implements the UnscheduledSuccs counter in DGNode. It counts
the number of unscheduled successors and is used by the scheduler to
determine when a node is ready.


  Commit: 9eddc8b9bf4e4e0b01e2ecc90a71c4b3b4e9c8af
      https://github.com/llvm/llvm-project/commit/9eddc8b9bf4e4e0b01e2ecc90a71c4b3b4e9c8af
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    M lldb/include/lldb/API/SBCommandReturnObject.h
    M lldb/include/lldb/API/SBStructuredData.h
    M lldb/include/lldb/Interpreter/CommandReturnObject.h
    M lldb/source/API/SBCommandReturnObject.cpp
    M lldb/source/Commands/CommandObjectDWIMPrint.cpp
    M lldb/source/Commands/CommandObjectExpression.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Interpreter/CommandReturnObject.cpp
    M lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py
    A lldb/test/Shell/Commands/Inputs/multiline-expr.txt
    A lldb/test/Shell/Commands/command-expr-diagnostics.test

  Log Message:
  -----------
  [lldb] Expose structured command diagnostics via the SBAPI. (#112109)

This allows IDEs to render LLDB expression diagnostics to their liking
without relying on characterprecise ASCII art from LLDB. It is exposed
as a versioned SBStructuredData object, since it is expected that this
may need to be tweaked based on actual usage.


  Commit: 627746581b8fde4143533937130f420bbbdf9ddf
      https://github.com/llvm/llvm-project/commit/627746581b8fde4143533937130f420bbbdf9ddf
  Author: yabinc <yabinc at google.com>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c
    M clang/test/CodeGen/2008-08-07-AlignPadding1.c
    M clang/test/CodeGen/2009-06-14-anonymous-union-init.c
    M clang/test/CodeGen/64bit-swiftcall.c
    M clang/test/CodeGen/arm-swiftcall.c
    M clang/test/CodeGen/const-init.c
    M clang/test/CodeGen/decl.c
    M clang/test/CodeGen/designated-initializers.c
    M clang/test/CodeGen/ext-int.c
    M clang/test/CodeGen/flexible-array-init.c
    M clang/test/CodeGen/global-init.c
    M clang/test/CodeGen/init.c
    A clang/test/CodeGen/linux-kernel-struct-union-initializer.c
    A clang/test/CodeGen/linux-kernel-struct-union-initializer2.c
    M clang/test/CodeGen/mingw-long-double.c
    M clang/test/CodeGen/mms-bitfields.c
    M clang/test/CodeGen/union-init2.c
    M clang/test/CodeGen/windows-swiftcall.c
    M clang/test/CodeGenObjC/designated-initializers.m

  Log Message:
  -----------
  Reapply "[clang][CodeGen] Zero init unspecified fields in initializers in C" (#109898) (#110051)

This reverts commit d50eaac12f0cdfe27e942290942b06889ab12a8c. Also fixes
a bug calculating offsets for bit fields in the original patch.


  Commit: 9b8dbe2c8d8f9ba31db572d218ed00dcb283eaba
      https://github.com/llvm/llvm-project/commit/9b8dbe2c8d8f9ba31db572d218ed00dcb283eaba
  Author: lntue <lntue at google.com>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake

  Log Message:
  -----------
  [libc][complex] Fix compiler warnings for usage of complex.h header. (#112282)


  Commit: 3990524a52fea2d934a83f1325c5b3095d0313e5
      https://github.com/llvm/llvm-project/commit/3990524a52fea2d934a83f1325c5b3095d0313e5
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang/docs/LanguageExtensions.rst
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c
    M clang/test/CodeGen/2008-08-07-AlignPadding1.c
    M clang/test/CodeGen/2009-06-14-anonymous-union-init.c
    M clang/test/CodeGen/64bit-swiftcall.c
    M clang/test/CodeGen/arm-swiftcall.c
    M clang/test/CodeGen/const-init.c
    M clang/test/CodeGen/decl.c
    M clang/test/CodeGen/designated-initializers.c
    M clang/test/CodeGen/ext-int.c
    M clang/test/CodeGen/flexible-array-init.c
    M clang/test/CodeGen/global-init.c
    M clang/test/CodeGen/init.c
    A clang/test/CodeGen/linux-kernel-struct-union-initializer.c
    A clang/test/CodeGen/linux-kernel-struct-union-initializer2.c
    M clang/test/CodeGen/mingw-long-double.c
    M clang/test/CodeGen/mms-bitfields.c
    M clang/test/CodeGen/union-init2.c
    M clang/test/CodeGen/windows-swiftcall.c
    M clang/test/CodeGenObjC/designated-initializers.m
    M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
    M lldb/include/lldb/API/SBCommandReturnObject.h
    M lldb/include/lldb/API/SBStructuredData.h
    M lldb/include/lldb/Interpreter/CommandReturnObject.h
    M lldb/source/API/SBCommandReturnObject.cpp
    M lldb/source/Commands/CommandObjectDWIMPrint.cpp
    M lldb/source/Commands/CommandObjectExpression.cpp
    M lldb/source/Commands/CommandObjectTarget.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Interpreter/CommandReturnObject.cpp
    M lldb/source/Symbol/UnwindTable.cpp
    M lldb/test/API/commands/expression/diagnostics/TestExprDiagnostics.py
    A lldb/test/Shell/Commands/Inputs/multiline-expr.txt
    A lldb/test/Shell/Commands/command-expr-diagnostics.test
    R lldb/test/Shell/Unwind/Inputs/basic-block-sections-with-dwarf.s
    R lldb/test/Shell/Unwind/Inputs/linux-x86_64.yaml
    R lldb/test/Shell/Unwind/basic-block-sections-with-dwarf-static.test
    R lldb/test/Shell/Unwind/basic-block-sections-with-dwarf.test
    M llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
    M llvm/lib/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.cpp
    A llvm/test/Instrumentation/MemorySanitizer/ARM32/vararg-arm32.ll
    A llvm/test/Instrumentation/MemorySanitizer/Mips32/vararg-mips.ll
    A llvm/test/Instrumentation/MemorySanitizer/Mips32/vararg-mipsel.ll
    A llvm/test/Instrumentation/MemorySanitizer/PowerPC32/kernel-ppcle.ll
    A llvm/test/Instrumentation/MemorySanitizer/PowerPC32/vararg-ppc.ll
    A llvm/test/Instrumentation/MemorySanitizer/PowerPC32/vararg-ppcle.ll
    A llvm/test/Instrumentation/MemorySanitizer/RISCV32/vararg-riscv32.ll
    R llvm/test/Instrumentation/MemorySanitizer/X86/vararg.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/avx-intrinsics-x86.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/avx2-intrinsics-x86.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/mmx-intrinsics.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/msan_x86_bts_asm.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/msan_x86intrinsics.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/sse-intrinsics-x86.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/sse2-intrinsics-x86.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/sse41-intrinsics-x86.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/vararg-too-large.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/vararg.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/vararg_call.ll
    A llvm/test/Instrumentation/MemorySanitizer/i386/vararg_shadow.ll
    M llvm/unittests/Transforms/Vectorize/SandboxVectorizer/DependencyGraphTest.cpp

  Log Message:
  -----------
  Rebase on main

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/38851d29d9ea...3990524a52fe

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