LLVM/project 25976e8llvm/test/ExecutionEngine/JITLink/AArch64 backtrace-symbolication.s, llvm/test/ExecutionEngine/JITLink/Generic backtrace-symbolication.ll

Revert "[llvm-jitlink] Replace IR backtrace symbolication testcase with asm." (#175242)

Reverts llvm/llvm-project#175117
DeltaFile
+0-42llvm/test/ExecutionEngine/JITLink/AArch64/backtrace-symbolication.s
+30-0llvm/test/ExecutionEngine/JITLink/Generic/backtrace-symbolication.ll
+30-422 files

LLVM/project 51e0248llvm/lib/Target/RISCV/Disassembler RISCVDisassembler.cpp

[RISCV] Try to disassemble 48-bit and larger instructions as 32-bit instructions first. (#175122)

The encoding scheme for 48-bit and larger instructions has not
been ratified yet. The RISC-V ISA manual previously included a
proposal that included 4 reserved major opcodes. LLVM's
disassembler implements this proposal as does binutils.

A vendor extension might have used the reserved opcodes,
as a non-conforming 32-bit extension. Try to decode as a
32-bit instruction first to catch these cases.

Should help with #174571.
DeltaFile
+12-6llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
+12-61 files

LLVM/project 4a8a059offload/test/offloading/fortran dump_map_tables.f90

[Offload] Fix failing Fortran test w/ line number (#175247)

This test also depends on the line number. Following similar approach as
other with [[@LINE]] macro.
DeltaFile
+1-1offload/test/offloading/fortran/dump_map_tables.f90
+1-11 files

LLVM/project 1117d2alldb/test/API/python_api/sbtarget_extensions TestSBTargetExtensions.py main.c

[LLDB] Swig python extensions tests for SBTargetExtention (#173473)

Implements part of #168920
DeltaFile
+138-0lldb/test/API/python_api/sbtarget_extensions/TestSBTargetExtensions.py
+7-0lldb/test/API/python_api/sbtarget_extensions/main.c
+3-0lldb/test/API/python_api/sbtarget_extensions/Makefile
+148-03 files

LLVM/project 42368f9lldb/source/ValueObject ValueObject.cpp, lldb/test/API/python_api/value/get_expr_path TestValueAPIGetExpressionPath.py main.c

[lldb] fix a problem in the ValueObject::GetExpressionPath method (#171521)

Consider the following program:
```
int main() {
  int foo[2][3][4];
  int (*bar)[3][4] = foo;
  return 0;
}
```
If we:
- compile this program
- launch an LLDB debugging session
- launch the process and let it stop at the `return 0;` statement
then the following LLDB command:
```
(lldb) script lldb.frame.FindVariable("bar").GetChildAtIndex(0).get_expr_path()
```
will produce the following output:

    [15 lines not shown]
DeltaFile
+51-0lldb/test/API/python_api/value/get_expr_path/TestValueAPIGetExpressionPath.py
+15-1lldb/source/ValueObject/ValueObject.cpp
+5-0lldb/test/API/python_api/value/get_expr_path/main.c
+3-0lldb/test/API/python_api/value/get_expr_path/Makefile
+74-14 files

LLVM/project d6d8622.github new-prs-labeler.yml

[flang][flang-rt] Add flang-rt autolabel check (#175240)

Add flang-rt to the autolabel github yaml.
DeltaFile
+5-0.github/new-prs-labeler.yml
+5-01 files

LLVM/project a5fcd84llvm/lib/Transforms/Vectorize VPlan.h

[VPlan] Document getSplatVFValue (NFC).

Document helper, as suggested independently in
https://github.com/llvm/llvm-project/pull/174234.
DeltaFile
+3-3llvm/lib/Transforms/Vectorize/VPlan.h
+3-31 files

LLVM/project 72b3a5bllvm/test/ExecutionEngine/JITLink/AArch64 backtrace-symbolication.s, llvm/test/ExecutionEngine/JITLink/Generic backtrace-symbolication.ll

Revert "[llvm-jitlink] Replace IR backtrace symbolication testcase with asm. …"

This reverts commit 451ca458cf51d553f5c49e67d841280e8166f933.
DeltaFile
+0-42llvm/test/ExecutionEngine/JITLink/AArch64/backtrace-symbolication.s
+30-0llvm/test/ExecutionEngine/JITLink/Generic/backtrace-symbolication.ll
+30-422 files

LLVM/project b26df46llvm/test lit.cfg.py, llvm/utils profcheck-xfail.txt

[profcheck] Exclude `IRCE` because it's not hooked up to the pass pipeline
DeltaFile
+0-32llvm/utils/profcheck-xfail.txt
+2-0llvm/test/lit.cfg.py
+2-322 files

LLVM/project 650eadcllvm/test lit.cfg.py

[profcheck] Exclude `IRCE` because it's not hooked up to the pass pipeline
DeltaFile
+2-0llvm/test/lit.cfg.py
+2-01 files

LLVM/project 33c4e3eflang/lib/Optimizer/Transforms/CUDA CUFOpConversion.cpp, flang/test/Fir/CUDA cuda-global-addr.mlir

[flang][cuda] Avoid inserting GetDeviceAddress call in offload regions (#175225)

In regions destined for GPU offload, computing an address_of means
getting device address directly - no need (and actually incorrect) to
insert a runtime call to get the address. This was already working for
regions such as `gpu.launch` - but now it applies to acc regions as
well.
DeltaFile
+27-0flang/test/Fir/CUDA/cuda-global-addr.mlir
+6-2flang/lib/Optimizer/Transforms/CUDA/CUFOpConversion.cpp
+33-22 files

LLVM/project 5f0591alibc/src/__support/wctype CMakeLists.txt, libc/src/__support/wctype/conversion CMakeLists.txt

add tests
DeltaFile
+169-0libc/test/src/__support/wctype/conversion/utils/slice_test.cpp
+11-0libc/test/src/__support/wctype/conversion/utils/CMakeLists.txt
+2-1libc/test/src/__support/wctype/CMakeLists.txt
+2-0libc/test/src/__support/wctype/conversion/CMakeLists.txt
+2-0libc/src/__support/wctype/CMakeLists.txt
+1-0libc/src/__support/wctype/conversion/CMakeLists.txt
+187-16 files

LLVM/project 4f1ab33flang/include/flang/Parser parse-tree-visitor.h

[flang] Visit "source" member in all AST nodes (#175211)

Some AST nodes had their "source" member visited by the parse tree
visitor, while others, in particular those that were handled by the
trait-based visitors, did not.

Make sure that we call the Walk function on the "source" member for all
classes that have it.
DeltaFile
+18-0flang/include/flang/Parser/parse-tree-visitor.h
+18-01 files

LLVM/project bac9b7allvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass.ll simplify-demanded-fpclass-shufflevector.ll

InstCombine: Improve SimplifyDemandedFPClass fabs handling
 (#175027)

Try to eliminate the fabs if the source is known positive.
DeltaFile
+49-4llvm/test/Transforms/InstCombine/simplify-demanded-fpclass.ll
+5-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+1-2llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-shufflevector.ll
+55-63 files

LLVM/project 5be1765flang/include/flang/Parser parse-tree-visitor.h

Remove unnecessary template
DeltaFile
+3-9flang/include/flang/Parser/parse-tree-visitor.h
+3-91 files

LLVM/project df3629dllvm/lib/Target/AMDGPU AMDGPULowerVGPREncoding.cpp AMDGPU.td, llvm/test/CodeGen/AMDGPU vgpr-setreg-mode-swar.mir

[AMDGPU] Handle `s_setreg_imm32_b32` targeting `MODE` register (#174681)

On certain hardware, this instruction clobbers VGPR MSB `bits[12:19]`,
so we need to restore the current mode.

Fixes SWDEV-571581.
DeltaFile
+244-0llvm/test/CodeGen/AMDGPU/vgpr-setreg-mode-swar.mir
+110-5llvm/lib/Target/AMDGPU/AMDGPULowerVGPREncoding.cpp
+8-1llvm/lib/Target/AMDGPU/AMDGPU.td
+3-0llvm/lib/Target/AMDGPU/GCNSubtarget.h
+365-64 files

LLVM/project 5b7658bflang/include/flang/Parser parse-tree-visitor.h

delete empty line
DeltaFile
+0-1flang/include/flang/Parser/parse-tree-visitor.h
+0-11 files

LLVM/project 2f0b104clang/lib/Driver/ToolChains Clang.cpp

format
DeltaFile
+1-1clang/lib/Driver/ToolChains/Clang.cpp
+1-11 files

LLVM/project ac50857clang/lib/Basic/Targets SPIR.h, clang/test/Sema spirv-address-space.c

[SPIR-V] Permit implicit conversion to generic AS (#175109)

Summary:
We rely on this in most places we work with address spaces. This allows
target address spaces to implicity convert to generic ones.

I actually have no clue if this is valid or correct with SPIR-V, hoping
someone with more target / backend knowledge can chime in.

---------

Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
DeltaFile
+21-0clang/test/Sema/spirv-address-space.c
+11-0clang/lib/Basic/Targets/SPIR.h
+32-02 files

LLVM/project 78c929bflang/include/flang/Parser parse-tree-visitor.h

Extract checks for "source" into separate functions
DeltaFile
+24-30flang/include/flang/Parser/parse-tree-visitor.h
+24-301 files

LLVM/project 6d24d45llvm/test/TableGen RegisterByHwMode.td RegisterByHwModeErrors.td, llvm/test/TableGen/Common RegisterByHwModeCommon.td

[𝘀𝗽𝗿] initial version

Created using spr 1.3.8-beta.1
DeltaFile
+316-0llvm/test/TableGen/RegisterByHwMode.td
+92-0llvm/test/TableGen/Common/RegisterByHwModeCommon.td
+69-0llvm/test/TableGen/RegisterByHwModeErrors.td
+54-4llvm/test/TableGen/RegClassByHwModeCompressPat.td
+52-1llvm/utils/TableGen/Common/InfoByHwMode.cpp
+36-9llvm/utils/TableGen/AsmWriterEmitter.cpp
+619-1413 files not shown
+778-4519 files

LLVM/project 88525e4llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass.ll simplify-demanded-fpclass-shufflevector.ll

InstCombine: Improve SimplifyDemandedFPClass fabs handling

Try to eliminate the fabs if the source is known positive.
DeltaFile
+4-8llvm/test/Transforms/InstCombine/simplify-demanded-fpclass.ll
+5-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+1-2llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-shufflevector.ll
+10-103 files

LLVM/project 4ccac73llvm/test/Transforms/InstCombine simplify-demanded-fpclass.ll

InstCombine: Add baseline tests for fabs SimplifyDemandedFPClass improvements
DeltaFile
+49-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass.ll
+49-01 files

LLVM/project cd6093bmlir/include/mlir/Conversion Passes.td, mlir/lib/Conversion/ArithAndMathToAPFloat ArithToAPFloat.cpp MathToAPFloat.cpp

add source type pre-condition
DeltaFile
+54-30mlir/lib/Conversion/ArithAndMathToAPFloat/ArithToAPFloat.cpp
+30-16mlir/lib/Conversion/ArithAndMathToAPFloat/MathToAPFloat.cpp
+26-4mlir/lib/Conversion/ArithAndMathToAPFloat/Utils.cpp
+7-1mlir/lib/Conversion/ArithAndMathToAPFloat/Utils.h
+8-0mlir/include/mlir/Conversion/Passes.td
+125-515 files

LLVM/project cd67f14clang/lib/CodeGen CGObjCRuntime.h CGObjCRuntime.cpp

Add helper function back
DeltaFile
+10-0clang/lib/CodeGen/CGObjCRuntime.h
+7-0clang/lib/CodeGen/CGObjCRuntime.cpp
+17-02 files

LLVM/project 2ff5663offload/test/sanitizer kernel_crash_many.c double_free.c

[OpenMP] Fix tests that depend on the line number
DeltaFile
+9-9offload/test/sanitizer/kernel_crash_many.c
+7-7offload/test/sanitizer/double_free.c
+5-5offload/test/sanitizer/kernel_crash.c
+3-3offload/test/sanitizer/kernel_crash_single.c
+2-2offload/test/sanitizer/free_wrong_ptr_kind.c
+2-2offload/test/sanitizer/kernel_crash_async.c
+28-285 files not shown
+34-3411 files

LLVM/project 8cab6ebclang/lib/CodeGen CGObjCMac.cpp CGObjC.cpp, clang/test/CodeGenObjC expose-direct-method-visibility-linkage.m direct-method-ret-mismatch.m

rebase to helper renaming
DeltaFile
+9-9clang/lib/CodeGen/CGObjCMac.cpp
+4-4clang/test/CodeGenObjC/expose-direct-method-visibility-linkage.m
+1-1clang/test/CodeGenObjC/direct-method-ret-mismatch.m
+1-1clang/lib/CodeGen/CGObjC.cpp
+1-1clang/test/CodeGenObjC/expose-direct-method-consumed.m
+1-1clang/test/CodeGenObjC/expose-direct-method-linkedlist.m
+17-172 files not shown
+19-198 files

LLVM/project 260de82clang/lib/CodeGen CGObjC.cpp

update comments
DeltaFile
+5-3clang/lib/CodeGen/CGObjC.cpp
+5-31 files

LLVM/project 3bfd48bclang/test/CodeGenObjC expose-direct-method-consumed.m

fix mac test
DeltaFile
+0-11clang/test/CodeGenObjC/expose-direct-method-consumed.m
+0-111 files

LLVM/project f9a7b88clang/test/CodeGenObjC expose-direct-method-visibility-linkage.m

amend mac tests
DeltaFile
+3-1clang/test/CodeGenObjC/expose-direct-method-visibility-linkage.m
+3-11 files