FailedChanges

Summary

  1. [AMDGPU] Update DWARF proposal (details)
  2. [ELF] Don't resolve a relocation in .debug_line referencing an ICF folded symbol to the tombstone value (details)
  3. [libTooling] Fix `maybeExtendRange` to support `CharRange`s. (details)
  4. [CallGraph] Add support for callback call sites (details)
  5. [flang] Implement cross-set EQUIVALENCE impossibility checking (details)
  6. [compiler-rt][Android] Use correct builtins library name for tests (details)
  7. [InstSimplify] Move assume icmp test (NFC) (details)
  8. [lldb/API] Add missing LLDB_RECORD_RESULT (details)
  9. [RISCV][NFC] Pre-commit tests for D82660 (details)
  10. Revert "[X86] Enable multibyte NOPs in 64-bit mode for padding/alignment." (details)
  11. [NFC][ScalarEvolution] Add udiv-disguised-as-sdiv test (details)
  12. Revert "[flang][openmp] Use common Directive and Clause enum from llvm/Frontend" (details)
  13. [AMDGPU] Limit promote alloca to vector with VGPR budget (details)
  14. AMDGPU: Fix missing tracksRegLiveness in tests (details)
  15. RegAllocGreedy: Use TargetInstrInfo already in the class (details)
  16. AMDGPU: Set more mov flags on V_ACCVGPR_{READ|WRITE}_B32 (details)
  17. [NFCI] Actually provide correct check lines in sdiv.ll (details)
  18. clang CoverageMapping tests bot cleanup (details)
  19. typo fixes to cycle bots (details)
  20. Update lto.ll test after 3367e9da enabled multibyte NOPs in 64-bit mode. (details)
  21. Revert "Update lto.ll test after 3367e9da enabled multibyte NOPs in 64-bit mode." (details)
  22. [gcov] Move llvm_writeout_files from atexit to a static destructor (details)
  23. [flang][NFC] Get formatting in sync with latest clang-format (details)
  24. [mlir][NFC] Move conversion of scf to spir-v ops in their own file (details)
  25. [mlir][spirv] Add support for lowering scf.for scf/if with return value (details)
  26. [PowerPC] Exploit xxspltiw and xxspltidp instructions (details)
  27. [flang] Add more support for alternate returns (details)
  28. [PowerPC][NFC] Update doc for FeatureISA3_1/FeatureISA3_0 definitions (details)
  29. [X86-64] Support Intel AMX instructions (details)
  30. [flang][openmp] Use common Directive and Clause enum from llvm/Frontend (details)
  31. [PowerPC]Implement Vector Shift Double Bit Immediate Builtins (details)
  32. [lld-macho] Make sure ZeroFill sections are at the end of their segments (details)
  33. [AMDGPU] Control num waves per EU for implicit work-group size (details)
  34. [lldb/ObjCRuntime] Implement support for small method lists (details)
  35. [lldb/ObjC] Add support for direct selector references (details)
  36. [lldb/build.py] Always pass an SDK to the compiler on Darwin (details)
  37. lld/MachO: Remove a useless temporary (details)
  38. ld64.lld: Add janky support for tbd files (details)
Commit 31fdcf64d24d537fbc227dbb475ef388cdf92dbc by Tony.Tye
[AMDGPU] Update DWARF proposal

- Add reference to implicit conversion description.
The file was modifiedllvm/docs/AMDGPUDwarfProposalForHeterogeneousDebugging.rst
Commit e6ad78fe050392e6807593793f59e65b0e6dc433 by maskray
[ELF] Don't resolve a relocation in .debug_line referencing an ICF folded symbol to the tombstone value

After D81784, we resolve a relocation in .debug_* referencing an ICF folded
section symbol to a tombstone value.

Doing this for .debug_line has a problem (https://reviews.llvm.org/D81784#2116925 ):
.debug_line may describe folded lines as having addresses UINT64_MAX or
some wraparound small addresses.

```
int foo(int x) {
  return x; // line 2
}

int bar(int x) {
  return x; // line 6
}
```

```
Address            Line   Column File   ISA Discriminator Flags
------------------ ------ ------ ------ --- ------------- -------------
0x00000000002016c0      1      0      1   0             0  is_stmt
0x00000000002016c7      2      9      1   0             0  is_stmt
prologue_end
0x00000000002016ca      2      2      1   0             0
0x00000000002016cc      2      2      1   0             0  end_sequence
// UINT64_MAX and wraparound small addresses
0xffffffffffffffff      5      0      1   0             0  is_stmt
0x0000000000000006      6      9      1   0             0  is_stmt
prologue_end
0x0000000000000009      6      2      1   0             0
0x000000000000000b      6      2      1   0             0  end_sequence
0x00000000002016d0      9      0      1   0             0  is_stmt
0x00000000002016df     10      6      1   0             0  is_stmt prologue_end
0x00000000002016e6     11     11      1   0             0  is_stmt
...
```

These entries can confuse debuggers:

gdb before 2020-07-01 (binutils-gdb a8caed5d7faa639a1e6769eba551d15d8ddd9510 "Recognize -1 as a tombstone value in .debug_line")
(can't continue due to a breakpoint in an invalid region of memory):
```
Warning:
Cannot insert breakpoint 1.
Cannot access memory at address 0x6
```
lldb (breakpoint has no effect):
```
(lldb) b 6
Breakpoint 1: no locations (pending).
WARNING:  Unable to resolve breakpoint to any actual locations.
```

This patch special cases .debug_line to not use the tombstone value,
restoring the previous behavior: .debug_line will have entries with the
same addresses (ICF) but different line numbers. A breakpoint on line 2
or 6 will trigger on both functions.

Reviewed By: dblaikie, jhenderson

Differential Revision: https://reviews.llvm.org/D82828
The file was modifiedlld/ELF/InputSection.cpp
The file was modifiedlld/test/ELF/debug-dead-reloc-icf.s
Commit ecfa0b24189abf4bb172a8860048af05fa17daee by yitzhakm
[libTooling] Fix `maybeExtendRange` to support `CharRange`s.

Currently, `maybeExtendRange` takes a `CharSourceRange`, but only works
correctly for the `TokenRange` case. This change adds proper support for the
`CharRange` case.

Reviewed By: gribozavr2

Differential Revision: https://reviews.llvm.org/D82901
The file was modifiedclang/unittests/Tooling/SourceCodeTest.cpp
The file was modifiedclang/lib/Tooling/Transformer/SourceCode.cpp
Commit cb8faaacb52c1c0f0b97379ac0e07a612c04c5ff by serguei.n.dmitriev
[CallGraph] Add support for callback call sites

Summary:
This patch changes call graph analysis to recognize callback call sites
and add an artificial 'reference' call record from the broker function
caller to the callback function in the call graph. A presence of such
reference enforces bottom-up traversal order for callback functions in
CG SCC pass manager because callback function logically becomes a callee
of the broker function caller.

Reviewers: jdoerfert, hfinkel, sstefan1, baziotis

Reviewed By: jdoerfert

Subscribers: hiraditya, kuter, sstefan1, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82572
The file was modifiedllvm/lib/Analysis/CallGraph.cpp
The file was modifiedllvm/lib/Transforms/IPO/SyntheticCountsPropagation.cpp
The file was modifiedllvm/include/llvm/Analysis/CallGraph.h
The file was modifiedllvm/include/llvm/IR/AbstractCallSite.h
The file was modifiedllvm/test/Transforms/Attributor/callbacks.ll
The file was modifiedllvm/lib/Transforms/Utils/CallGraphUpdater.cpp
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/openmp_parallel_for.ll
The file was modifiedllvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll
The file was modifiedllvm/lib/Analysis/CallGraphSCCPass.cpp
The file was addedllvm/test/Analysis/CallGraph/callback-calls.ll
The file was modifiedllvm/test/Analysis/CallGraph/non-leaf-intrinsics.ll
Commit 31e6cd28a5a8afeea4a7f89d54ccf87eaba9f76c by pklausler
[flang] Implement cross-set EQUIVALENCE impossibility checking

Implement cross-set EQUIVALENCE impossibility checking; fixes
an infinite loop on an erroneous test.  Also fix substring
reference offset calculations in EQUIVALENCE discovered to
be incorrect during testing.

Reviewed By: tskeith

Differential Revision: https://reviews.llvm.org/D82993
The file was modifiedflang/lib/Semantics/compute-offsets.cpp
The file was modifiedflang/include/flang/Semantics/scope.h
The file was modifiedflang/lib/Semantics/resolve-names-utils.cpp
The file was modifiedflang/test/Semantics/equivalence01.f90
Commit 3fb48b70884aedc6344c17bfa1ac1c01bdc454a3 by rprichard
[compiler-rt][Android] Use correct builtins library name for tests

The builtins library name is special on Android:

* There is an "-android" suffix.

* For the compiler-rt i386 architecture, Android targets i686 (in the
   triple and in the builtins library filename)

With this change, check-builtins works with Android.

Reviewed By: compnerd

Differential Revision: https://reviews.llvm.org/D82149
The file was modifiedcompiler-rt/test/lit.common.configured.in
Commit a59dc55c2a11c1b125d1a356a90b0b2bf72b16fb by nikita.ppv
[InstSimplify] Move assume icmp test (NFC)

Move this test from InstCombine into InstSimplify.
The file was addedllvm/test/Transforms/InstSimplify/assume_icmp.ll
The file was removedllvm/test/Transforms/InstCombine/assume_icmp.ll
Commit d9d992bb8809820c50820b3e703d33d5fcb51385 by Jonas Devlieghere
[lldb/API] Add missing LLDB_RECORD_RESULT
The file was modifiedlldb/source/API/SBBreakpoint.cpp
Commit 003a086ffc0d1affbb8300b36225fb8150a2d40a by selliott
[RISCV][NFC] Pre-commit tests for D82660
The file was modifiedllvm/test/CodeGen/RISCV/mul.ll
Commit c420762172baedada71e49447f0010c292533660 by craig.topper
Revert "[X86] Enable multibyte NOPs in 64-bit mode for padding/alignment."

Looks like lld tests need updates too

This reverts commit 3367e9dac56024147bbd916c40bfe6a4ee61079b.
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
The file was modifiedllvm/test/MC/X86/align-branch-bundle.s
The file was modifiedllvm/test/MC/X86/align-branch-pad-max-prefix.s
Commit 51ff7642a33f73518d60909e3fe4e6348dcc7b27 by lebedev.ri
[NFC][ScalarEvolution] Add udiv-disguised-as-sdiv test

Much like 25521150d7b577f6f1b402826f2afbb0ec5fb59b,
but with division instead of remainder.

See https://reviews.llvm.org/D82721
The file was addedllvm/test/Analysis/ScalarEvolution/sdiv.ll
Commit 5c37b2a5eee49df2545a6455eec64fb4b105df40 by clementval
Revert "[flang][openmp] Use common Directive and Clause enum from llvm/Frontend"

This reverts commit 7f1e7767952233d1b6af1feef1371d127de5fa50.
The file was modifiedflang/lib/Parser/CMakeLists.txt
The file was modifiedflang/lib/Evaluate/CMakeLists.txt
The file was modifiedflang/lib/Semantics/check-omp-structure.cpp
The file was modifiedflang/include/flang/Parser/parse-tree.h
The file was modifiedflang/lib/Semantics/CMakeLists.txt
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMP.td
The file was modifiedflang/lib/Semantics/check-omp-structure.h
The file was modifiedflang/tools/f18-parse-demo/CMakeLists.txt
The file was modifiedflang/include/flang/Common/enum-set.h
The file was modifiedflang/include/flang/Parser/dump-parse-tree.h
The file was modifiedflang/lib/Parser/unparse.cpp
The file was modifiedflang/lib/Parser/openmp-parsers.cpp
Commit 54e2dc7537dd62a70d76883197e3007cadf060aa by Stanislav.Mekhanoshin
[AMDGPU] Limit promote alloca to vector with VGPR budget

Allow only up to 1/4 of available VGPRs for the vectorization
of any given alloca.

Differential Revision: https://reviews.llvm.org/D82990
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
The file was addedllvm/test/CodeGen/AMDGPU/vector-alloca-limits.ll
Commit a230f1db3f2a4c661308837859a4ed0513a9ceee by Matthew.Arsenault
AMDGPU: Fix missing tracksRegLiveness in tests

I have no idea why this is considered optional, or why it's not the
default. Also add uses of the copied registers for more useful
liveness testing.
The file was modifiedllvm/test/CodeGen/AMDGPU/accvgpr-copy.mir
Commit afb3bd9914fd39476630dcb521496cfbff7e12c9 by Matthew.Arsenault
RegAllocGreedy: Use TargetInstrInfo already in the class
The file was modifiedllvm/lib/CodeGen/RegAllocGreedy.cpp
Commit d2e74fad20bf8cf66ff20a43fe2934d71e046528 by Matthew.Arsenault
AMDGPU: Set more mov flags on V_ACCVGPR_{READ|WRITE}_B32

This fixes extra copies when materializing constants in AGPRs. This
made it a lot harder to trigger the spilling in spill-agpr.ll
The file was modifiedllvm/lib/Target/AMDGPU/VOP3PInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-agpr.ll
The file was addedllvm/test/CodeGen/AMDGPU/agpr-remat.ll
Commit e7da7d94282a940a62f20ecb9b9c827256810322 by lebedev.ri
[NFCI] Actually provide correct check lines in sdiv.ll
The file was modifiedllvm/test/Analysis/ScalarEvolution/sdiv.ll
Commit 9fc877213e075a76831fe71291d7c072c64c27e3 by xun
clang CoverageMapping tests bot cleanup

Summary:
D82928 generated unexpected tmp files in the CoverageMapping test directory. This patch cleans it up and remove the file in the test bots.
It will be revered after a week.

Reviewers: thakis

Reviewed By: thakis

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82992
The file was modifiedclang/test/CoverageMapping/coroutine.cpp
Commit ac8d059c8e80fc84d16ad79d08e25010ffa114c2 by thakis
typo fixes to cycle bots
The file was modifiedclang/docs/MatrixTypes.rst
Commit 79f6a814ab9383094a5ffea75bb7aca55292ff15 by douglas.yung
Update lto.ll test after 3367e9da enabled multibyte NOPs in 64-bit mode.

This should fix the PS4 linux build bot:
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/70409
The file was modifiedlld/test/COFF/lto.ll
Commit 6f13299c02d4c9d8a3f1cd81e8b02c91d5a2fe66 by douglas.yung
Revert "Update lto.ll test after 3367e9da enabled multibyte NOPs in 64-bit mode."

This reverts commit 79f6a814ab9383094a5ffea75bb7aca55292ff15.

Didn't notice that someone had reverted the commit that caused the problem.
The file was modifiedlld/test/COFF/lto.ll
Commit 48c196f5c8b339c347d0a4ecf944c942fa5df765 by maskray
[gcov] Move llvm_writeout_files from atexit to a static destructor

atexit registered functions run earlier so `__attribute__((destructor))`
annotated functions cannot be tracked.

Set a priority of 100 (compatible with GCC 7 onwards) to track
destructors and destructors whose priorities are greater than 100.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7970

Reviewed By: calixte, marco-c

Differential Revision: https://reviews.llvm.org/D82253
The file was addedcompiler-rt/test/profile/Posix/gcov-destructor.c
The file was modifiedcompiler-rt/lib/profile/GCDAProfiling.c
Commit dd904082625b4fd83f90647952dabee93ef5e990 by tkeith
[flang][NFC] Get formatting in sync with latest clang-format

flang/module only contains Fortran files and one is a .h so disable
formatting on that directory.

Differential Revision: https://reviews.llvm.org/D82989
The file was modifiedflang/lib/Semantics/expression.cpp
The file was modifiedflang/include/flang/Parser/characters.h
The file was modifiedflang/lib/Semantics/check-data.cpp
The file was addedflang/module/.clang-format
The file was modifiedflang/include/flang/Semantics/scope.h
The file was modifiedflang/include/flang/Lower/AbstractConverter.h
The file was modifiedflang/lib/Evaluate/fold-integer.cpp
The file was modifiedflang/lib/Lower/ConvertType.cpp
The file was modifiedflang/runtime/memory.h
The file was modifiedflang/lib/Semantics/canonicalize-do.cpp
The file was modifiedflang/runtime/edit-output.cpp
Commit fbce9855e9d5483f724d231dd4ecc2b79807d217 by thomasraoux
[mlir][NFC] Move conversion of scf to spir-v ops in their own file

Move patterns for scf to spir-v ops in their own file/folder.

Differential Revision: https://reviews.llvm.org/D82914
The file was addedmlir/include/mlir/Conversion/SCFToSPIRV/SCFToSPIRV.h
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
The file was addedmlir/lib/Conversion/SCFToSPIRV/SCFToSPIRV.cpp
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
The file was modifiedmlir/lib/Conversion/CMakeLists.txt
The file was addedmlir/lib/Conversion/SCFToSPIRV/CMakeLists.txt
Commit 0670f855a7d8f48a86d67d83e6be45fab016f080 by thomasraoux
[mlir][spirv] Add support for lowering scf.for scf/if with return value

This allow lowering to support scf.for and scf.if with results. As right now
spv region operations don't have return value the results are demoted to
Function memory. We create one allocation per result right before the region
and store the yield values in it. Then we can load back the value from
allocation to be able to use the results.

Differential Revision: https://reviews.llvm.org/D82246
The file was modifiedmlir/lib/Conversion/SCFToSPIRV/SCFToSPIRV.cpp
The file was modifiedmlir/include/mlir/Conversion/SCFToSPIRV/SCFToSPIRV.h
The file was modifiedmlir/test/Conversion/GPUToSPIRV/if.mlir
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVTypes.cpp
The file was modifiedmlir/test/Conversion/GPUToSPIRV/loop.mlir
Commit c5b4f03b53a48b7dc35ce6c345bb06871cd7699e by lei
[PowerPC] Exploit xxspltiw and xxspltidp instructions

Exploits the VSX Vector Splat Immediate Word and
VSX Vector Splat Immediate Double Precision instructions:

  xxspltiw XT,IMM32
  xxspltidp XT,IMM32

Differential Revision: https://reviews.llvm.org/D82911
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was addedllvm/test/CodeGen/PowerPC/p10-splatImm.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrPrefix.td
The file was addedllvm/test/CodeGen/PowerPC/p10-splatImm-CPload-pcrel.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td
Commit 05756e6937d58c357b0b7e37ff3e9a8f7dd0d485 by tkeith
[flang] Add more support for alternate returns

Add `hasAlternateReturns` to `evaluate::ProcedureRef`.

Add `HasAlternateReturns` to test subprogram symbols.

Fix `label01.F90` test: It was checking that "error: " didn't appear in
the output. But that was erroneously matching a warning that ends
"would be in error:". So change it to check for ": error: " instead.

Differential Revision: https://reviews.llvm.org/D83007
The file was modifiedflang/lib/Semantics/tools.cpp
The file was modifiedflang/test/Semantics/label01.F90
The file was modifiedflang/include/flang/Semantics/tools.h
The file was modifiedflang/lib/Semantics/expression.cpp
The file was modifiedflang/include/flang/Evaluate/call.h
Commit 99c4207d428bc1e24fed677c67230e27dd3d508f by lei
[PowerPC][NFC] Update doc for FeatureISA3_1/FeatureISA3_0 definitions
The file was modifiedllvm/lib/Target/PowerPC/PPC.td
Commit aded4f0cc070fcef6763c9a3c2ba764d652b692e by xiang1.zhang
[X86-64] Support Intel AMX instructions

Summary:
INTEL ADVANCED MATRIX EXTENSIONS (AMX).
AMX is a new programming paradigm, it has a set of 2-dimensional registers
(TILES) representing sub-arrays from a larger 2-dimensional memory image and
operate on TILES.

Spec can be found in Chapter 3 here https://software.intel.com/content/www/us/en/develop/download/intel-architecture-instruction-set-extensions-programming-reference.html

Reviewers: LuoYuanke, annita.zhang, pengfei, RKSimon, xiangzhangllvm

Reviewed By: xiangzhangllvm

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82705
The file was addedllvm/test/MC/Disassembler/X86/AMX/x86-64-amx-int8-intel.txt
The file was modifiedllvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
The file was modifiedllvm/lib/Support/Host.cpp
The file was addedllvm/test/MC/Disassembler/X86/AMX/x86-64-amx-bf16-att.txt
The file was addedllvm/test/MC/X86/AMX/x86-64-amx-int8-intel.s
The file was modifiedllvm/include/llvm/Support/X86DisassemblerDecoderCommon.h
The file was addedllvm/test/MC/X86/AMX/x86-64-amx-int8-att.s
The file was modifiedllvm/lib/Target/X86/AsmParser/X86Operand.h
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was addedllvm/test/MC/X86/AMX/x86-64-amx-bf16-intel.s
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
The file was addedllvm/test/MC/X86/AMX/x86-64-amx-error.s
The file was modifiedllvm/utils/TableGen/X86DisassemblerTables.cpp
The file was modifiedllvm/test/CodeGen/X86/ipra-reg-usage.ll
The file was addedllvm/test/MC/X86/AMX/x86-64-amx-tile-att.s
The file was addedllvm/test/MC/X86/AMX/x86-64-amx-tile-intel.s
The file was modifiedllvm/utils/TableGen/X86RecognizableInstr.h
The file was modifiedllvm/utils/TableGen/X86ModRMFilters.h
The file was addedllvm/test/MC/Disassembler/X86/AMX/x86-64-amx-bf16-intel.txt
The file was modifiedllvm/lib/Target/X86/X86InstrFormats.td
The file was addedllvm/test/MC/Disassembler/X86/AMX/x86-64-amx-error.txt
The file was addedllvm/test/MC/Disassembler/X86/AMX/x86-64-amx-int8-att.txt
The file was modifiedllvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h
The file was modifiedllvm/lib/Target/X86/X86.td
The file was addedllvm/lib/Target/X86/X86InstrAMX.td
The file was modifiedllvm/lib/Target/X86/X86RegisterInfo.td
The file was modifiedllvm/lib/Target/X86/X86Subtarget.h
The file was modifiedllvm/utils/TableGen/X86ModRMFilters.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/X86/Target.cpp
The file was addedllvm/test/MC/Disassembler/X86/AMX/x86-64-amx-tile-att.txt
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
The file was modifiedllvm/utils/TableGen/X86RecognizableInstr.cpp
The file was addedllvm/test/MC/Disassembler/X86/AMX/x86-64-amx-tile-intel.txt
The file was addedllvm/test/MC/X86/AMX/x86-64-amx-bf16-att.s
Commit 2ddba3082ca79080b14f372ebe4b5bdbc5f694ed by clementval
[flang][openmp] Use common Directive and Clause enum from llvm/Frontend

Summary:
This patch is removing the custom enumeration for OpenMP Directives and Clauses and replace them
with the newly tablegen generated one from llvm/Frontend. This is a first patch and some will follow to share the same
infrastructure where possible. The next patch should use the clauses allowance defined in the tablegen file.

Reviewers: jdoerfert, DavidTruby, sscalpone, kiranchandramohan, ichoyjx

Reviewed By: DavidTruby, ichoyjx

Subscribers: jholewinski, cfe-commits, dblaikie, MaskRay, ymandel, ichoyjx, mgorny, yaxunl, guansong, jfb, sstefan1, aaron.ballman, llvm-commits

Tags: #llvm, #flang, #clang

Differential Revision: https://reviews.llvm.org/D82906
The file was modifiedclang/lib/AST/ASTTypeTraits.cpp
The file was modifiedclang/lib/Basic/OpenMPKinds.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedflang/lib/Parser/unparse.cpp
The file was modifiedclang/lib/AST/OpenMPClause.cpp
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was modifiedflang/lib/Parser/CMakeLists.txt
The file was modifiedflang/tools/f18-parse-demo/CMakeLists.txt
The file was modifiedflang/lib/Evaluate/CMakeLists.txt
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedflang/include/flang/Parser/dump-parse-tree.h
The file was modifiedflang/lib/Semantics/CMakeLists.txt
The file was modifiedflang/lib/Semantics/check-omp-structure.h
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was modifiedflang/include/flang/Common/enum-set.h
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedflang/lib/Semantics/check-omp-structure.cpp
The file was modifiedclang/include/clang/AST/OpenMPClause.h
The file was modifiedflang/include/flang/Parser/parse-tree.h
The file was modifiedflang/lib/Parser/openmp-parsers.cpp
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMP.td
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
Commit 88874f07464467f3852dd662d180f7738756649b by lei
[PowerPC]Implement Vector Shift Double Bit Immediate Builtins

Implement Vector Shift Double Bit Immediate Builtins in LLVM/Clang.
  * vec_sldb ();
  * vec_srdb ();

Differential Revision: https://reviews.llvm.org/D82440
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrPrefix.td
The file was modifiedclang/include/clang/Basic/BuiltinsPPC.def
The file was modifiedclang/lib/Headers/altivec.h
The file was addedllvm/test/CodeGen/PowerPC/builtins-ppc-p10permute.ll
The file was modifiedclang/test/CodeGen/builtins-ppc-p10vector.c
The file was modifiedclang/lib/Sema/SemaChecking.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicsPowerPC.td
Commit 7996a1ef7020e4bda1252f6f26c26e1c78aa3eac by jezng
[lld-macho] Make sure ZeroFill sections are at the end of their segments

Summary:
ld64 does this, and references an internal rdar:// number as an explanation. No
idea what that rdar issue is, but in practice, it seems that not putting a BSS
section at the end can cause subsequent sections in the same segment to be
overwritten with zeroes.

Reviewers: #lld-macho

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81888
The file was modifiedlld/test/MachO/bss.s
The file was modifiedlld/MachO/Writer.cpp
Commit e1a31f52cd79140ac0c72f203c518bc6adf9c7b2 by Pushpinder.Singh
[AMDGPU] Control num waves per EU for implicit work-group size

Summary:
If amdgpu-flat-work-group-size is not specified in LLVM IR, the backend
uses default value of 1024. For this, minimum waves per EU should be 4.
However, backend is still setting minimum value to 1 instead of calculated
value. This is not observed normally as frontend always provide
amdgpu-flat-work-group-size attribute.

Reviewers: rampitec, b-sumner, sameerds, msearles

Reviewed By: rampitec

Subscribers: qcolombet, arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81991
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/reserve-vgpr-for-sgpr-spill.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/accvgpr-copy.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/InlineAsmCrash.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-vgpr-to-agpr.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/waitcnt-overflow.mir
Commit 61d22ef236206f17d7abcdcdf9da3c99074432d5 by Fred Riss
[lldb/ObjCRuntime] Implement support for small method lists

On macOS 11 (and other aligned Apple OSs), the Objective-C runtime
has a new optimization which saves memory by making the method
lists smaller.
This patch adds support for this new method list encoding (while
also keeping backward compatibility). This is implicitely covered
by some existing Objective-C tests.
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.h
Commit 4a674b623796dc5c5778fc6998f788044137d61d by Fred Riss
[lldb/ObjC] Add support for direct selector references

On macOS 11 (and other aligned OSs), the shared cache method
lists get an additional optimization which removes one level
of indirection to get to the selector.
This patch supports this new optimization. Both codepaths are
covered byt the existing Objective-C tests.
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.h
Commit c9f251aa6f6221a45d926bc12bd25d1833e5d945 by Fred Riss
[lldb/build.py] Always pass an SDK to the compiler on Darwin

On macOS 11, system libraries which are part of the shared cache
are not present on the filesystem anymore. This causes issues
with build.py, because it fails to link binaries with libSystem
or libc++.

The real issue is that build.py was not passing an SDK to the
compiler. The script accepts an argument for the SDK, but it
is currently unused. This patch just threads the SDK through
to the compile and link steps and this fixes a bunch of Shell
test failures on very recent macOS builds.
The file was modifiedlldb/test/Shell/helper/build.py
Commit 7be1661fc6ed3f5c0d0365f5528717707757a382 by thakis
lld/MachO: Remove a useless temporary
The file was modifiedlld/MachO/Driver.cpp
Commit ba5087f13025a15662e164eb371fe0678258e03f by thakis
ld64.lld: Add janky support for tbd files

With this, a simple hello world links against libSystem.tbd and the
old ld64.lld linker kind of works again with newer SDKs.

The motivation here is to have an arm64 cross linker that's good
enough to be able to run simple configure link checks on non-mac
systems for generating config.h files. Once -flavor darwinnew can
link arm64, we'll switch to that.
The file was modifiedlld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
The file was modifiedlld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
The file was addedlld/test/mach-o/Inputs/MacOSX.sdk/usr/lib/libSystem.tbd
The file was addedlld/test/mach-o/stub-link.s
The file was modifiedlld/lib/ReaderWriter/MachO/File.h
The file was modifiedlld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
The file was modifiedlld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp