SuccessChanges

Summary

  1. [AMDGPU] Consider all SGPR uses as unique in constant bus verify (details)
  2. [NFC] Remove unnecessary default constructors (details)
  3. [GlobalISel][AMDGPU] Lower G_SMULH/G_UMULH (details)
  4. [lld-macho] Initial support for common symbols (details)
  5. [lld-macho] Implement and test resolution of common symbols (details)
  6. [lld-macho] Emit indirect symbol table (details)
  7. [lld-macho] Ignore `-mllvm` and its argument (details)
  8. [lld-macho] Support -weak_lx, -weak_library, -weak_framework (details)
  9. [lld-macho][NFC] Refactor syslibroot / library path lookup (details)
  10. [lld-macho][NFC] Make `!= nullptr` implicit (details)
  11. [IRSim] Adding structural comparison to IRSimilarityCandidate. (details)
  12. Revert "[IRSim] Adding structural comparison to IRSimilarityCandidate." (details)
  13. [IRSim] Adding structural comparison to IRSimilarityCandidate. (details)
  14. [Power10]  Implement custom codegen for the vec_replace_elt and vec_replace_unaligned builtins. (details)
  15. [dwarfdump] Warn for tags with DW_CHILDREN_yes but no children. (details)
  16. DebugInfo: Filter DWARFv5 TUs out of the debug_info unit list when CUs requested (details)
  17. [IRSim][NFC] Removing warning from IRSimilarityIdentifier (details)
  18. [DWARFYAML] Make the ExtLen field of extended opcodes optional. (details)
  19. [IRSim] Adding a basic similarity identifier. (details)
  20. Revert "[lld-macho] Implement and test resolution of common symbols" (details)
  21. Revert "[lld-macho] Initial support for common symbols" (details)
  22. [flang][driver] Fix options flag in the frontend driver (details)
  23. [OpenMP][MLIR] Add assembly format for master op (details)
  24. [flang][driver] Add missing dependency in CMake files (details)
  25. [flang][NFC] Fix CMake variable name in README.md (details)
  26. [clangd] Disable suffix matching fallback for C during include insertion (details)
  27. [clangd] Fix comment. NFC (details)
  28. [llvm-objcopy][MachO] Fix --add-section (details)
  29. [mlir] Stop allowing LLVMType Int arguments for GPULaunchFuncOp. (details)
  30. [SVE] Add new isKnownXX comparison functions to TypeSize (details)
  31. [clang][Sema] Use enumerator instead of hard-coded constant (details)
  32. [unittests] Use std::make_tuple to make some toolchains happy again (details)
  33. [llvm] Use instead of  in IRSimilarityIdentifierTest.cpp. (details)
  34. [MLIR][docs] Fix typos (details)
  35. [clangd] Reorder a little bit of init code. NFC (details)
  36. [asan][test] Disable malloc-no-intercept.c on Solaris (details)
  37. [SCEV] Use loop guard info when computing the max BE taken count in howFarToZero. (details)
  38. [llvm-readobj] - Fix a warning. (details)
  39. [llvm-readelf/obj] - Stop printing wrong addresses for arm32 unwind info for non-relocatable objects. (details)
  40. Use different name for auto variable (details)
  41. [lld][ELF][test] Add a couple of test cases for LTO behaviour (details)
  42. [NFC][Docs] fix clang-docs compilation (details)
  43. [llvm-objcopy][NFC] refactor error handling. part 1. (details)
  44. [APFloat] add tests for convert of NAN; NFC (details)
  45. [flang][driver] Remove unnecessary includes in the unittest (NFC) (details)
  46. [flang] [OpenMP 4.5] Adding lit test cases for OpenMP Constructs. (details)
  47. Fix a builtbot failure after 3ed04f93e30121867a813a220452b97aebeb1730. (details)
  48. [Support] On Windows, ensure abort() can be catched several times in a row with CrashRecoveryContext (details)
  49. [lit] Support running tests on Windows without GnuWin32 (details)
  50. [Support] On Unix, let the CrashRecoveryContext return the signal code (details)
  51. [ARM] Check for LSTP side-effects. (details)
  52. [ARM] LowoverheadLoops: add an option to disable tail-predication (details)
  53. [AArch64] Regenerate dag-combine-mul-shl.ll checks (details)
  54. Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions" (details)
  55. Improve 723fea23079f9c85800e5cdc90a75414af182bfd - Silence 'warning: unused variable' when compiling with Clang 10.0 (details)
  56. Fix f5314d15af4f4514103ea12c74cb208538b8bef5 - [Support] On Unix, let the CrashRecoveryContext return the signal code (details)
  57. [MLIR] Normalize memrefs in LoadOp and StoreOp of Standard Ops (details)
  58. [NFC][RISCV][builtins] Remove some hard-coded values from i-cache clear routine (details)
  59. lld: Try to fix check-lld on incremental builds after 8f2c31f22b974da (details)
  60. [InstCombine] regenerate test checks; NFC (details)
  61. [PhaseOrdering] move an 'opt' test from x86 codegen; NFC (details)
  62. [PhaseOrdering] move test with target requirement to x86 dir (details)
  63. [MLIR][SPIRV] Fixed dialect loading in deserialization (details)
  64. OpaquePtr: Add helpers for sret to mirror byval (details)
  65. IR: Have byref imply dereferenceable (details)
  66. [AMDGPU] Fix v3f16 handling for getresinfo (details)
  67. [AMDGPU] Use cast instead of dyn_cast (details)
Commit 1e0500d4f7f19b3eae0f9b6f05591a40188d8d99 by carl.ritson
[AMDGPU] Consider all SGPR uses as unique in constant bus verify

Fix the verifier so that overlapping SGPR operands are counted
independently.  We cannot assume that overlapping SGPR accesses
only count as a single constant bus use.
The exception is implicit uses which do not add to constant bus
usage (only) when overlapping.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D87748
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp (diff)
The file was addedllvm/test/CodeGen/AMDGPU/verify-constant-bus-violations.mir
Commit 714075f9c1ac50cde20e21e559f0e29fdc848bf1 by aeubanks
[NFC] Remove unnecessary default constructors
The file was modifiedllvm/include/llvm/Passes/StandardInstrumentations.h (diff)
Commit 41d6669f1f16cc2f6cd0faf2c58447d1aa2072fa by Pushpinder.Singh
[GlobalISel][AMDGPU] Lower G_SMULH/G_UMULH

Reviewed By: arsenm, foad

Differential Revision: https://reviews.llvm.org/D85653
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umulh.mir (diff)
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smulh.mir (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp (diff)
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h (diff)
Commit 63ace77962543f961f1d566dd1243b1fb37129ef by jezng
[lld-macho] Initial support for common symbols

On Unix, it is traditionally allowed to write variable definitions without
initialization expressions (such as "int foo;") to header files. These are
called tentative definitions.

The compiler creates common symbols when it sees tentative definitions. When
linking the final binary, if there are remaining common symbols after name
resolution is complete, the linker converts them to regular defined symbols in
a `__common` section.

This diff implements most of that functionality, though we do not yet handle
the case where there are both common and non-common definitions of the same
symbol.

Reviewed By: #lld-macho, gkm

Differential Revision: https://reviews.llvm.org/D86909
The file was modifiedlld/MachO/Driver.cpp (diff)
The file was modifiedlld/MachO/SymbolTable.cpp (diff)
The file was modifiedlld/MachO/InputFiles.cpp (diff)
The file was addedlld/test/MachO/common-symbol-coalescing.s
The file was modifiedlld/MachO/SymbolTable.h (diff)
The file was modifiedlld/MachO/Symbols.h (diff)
The file was modifiedlld/MachO/SyntheticSections.h (diff)
Commit cd7cb0c30305501982ba37b4905bb264b3539ad0 by jezng
[lld-macho] Implement and test resolution of common symbols

Handle the case where there are both common and non-common definitions
of the same symbol. Add a bunch of tests to ensure compatibility with ld64.

Reviewed By: #lld-macho, gkm

Differential Revision: https://reviews.llvm.org/D86910
The file was addedlld/test/MachO/common-symbol-resolution.s
The file was modifiedlld/MachO/SymbolTable.cpp (diff)
The file was modifiedlld/test/MachO/nonweak-definition-override.s (diff)
Commit 5d26bd3b75538515194d9e54c76e723524c1ac18 by jezng
[lld-macho] Emit indirect symbol table

Makes it a little easier to read objdump's disassembly.

Reviewed By: #lld-macho, gkm

Differential Revision: https://reviews.llvm.org/D87178
The file was modifiedlld/MachO/SyntheticSections.h (diff)
The file was modifiedlld/MachO/OutputSection.h (diff)
The file was modifiedlld/MachO/Writer.cpp (diff)
The file was modifiedlld/MachO/Symbols.h (diff)
The file was modifiedlld/MachO/SyntheticSections.cpp (diff)
The file was addedlld/test/MachO/indirect-symtab.s
Commit 79412d6ca772c1c3913030cfef4b17f4afac110d by jezng
[lld-macho] Ignore `-mllvm` and its argument

Test Plan:

Reviewed By: #lld-macho, compnerd, MaskRay

Differential Revision: https://reviews.llvm.org/D87803
The file was modifiedlld/MachO/Options.td (diff)
The file was modifiedlld/test/MachO/silent-ignore.test (diff)
Commit 98f03908d07d06c74be5547cc0436bd89186cae2 by jezng
[lld-macho] Support -weak_lx, -weak_library, -weak_framework

They cause their corresponding libraries / frameworks to be loaded via
`LC_LOAD_WEAK_DYLIB` instead of `LC_LOAD_DYLIB`.

Reviewed By: #lld-macho, gkm

Differential Revision: https://reviews.llvm.org/D87929
The file was modifiedlld/MachO/Options.td (diff)
The file was addedlld/test/MachO/weak-import.s
The file was modifiedlld/MachO/InputFiles.h (diff)
The file was modifiedlld/MachO/Writer.cpp (diff)
The file was modifiedlld/MachO/Driver.cpp (diff)
Commit ca8752a793f1576b666fb22a74278d44725138f1 by jezng
[lld-macho][NFC] Refactor syslibroot / library path lookup

* Move computation of systemLibraryRoots into a separate function, so we
  can add more functionality to it without things becoming unwieldy
* Have `getSearchPaths` and related functions return by value instead of
  by output parameter. NRVO should ensure that performance is unaffected.

Reviewed By: #lld-macho, smeenai

Differential Revision: https://reviews.llvm.org/D87959
The file was modifiedlld/MachO/Driver.cpp (diff)
Commit 9c70281497730a7dc7df43435bf570bef1108454 by jezng
[lld-macho][NFC] Make `!= nullptr` implicit
The file was modifiedlld/MachO/InputFiles.cpp (diff)
The file was modifiedlld/MachO/Driver.cpp (diff)
The file was modifiedlld/MachO/OutputSegment.cpp (diff)
Commit b27db2bb68163fa5bcb4a8f631a305eb5adb44e5 by andrew.litteken
[IRSim] Adding structural comparison to IRSimilarityCandidate.

Just because sequences of instructions are similar to one another,
doesn't mean they are doing the same thing.

This introduces a structural check for the IRSimilarityCandidate that
compares two IRSimilarityCandidates against one another, and in each
instruction creates a mapping between the operands and results, or
checks that the existing mapping is valid.  If this check passes, it
means we have structurally similar IRSimilarityCandidates.

Tests for whether the candidates are found in
unittests/Analysis/IRSimilarityIdentifierTest.cpp.
The file was modifiedllvm/lib/Analysis/IRSimilarityIdentifier.cpp (diff)
The file was modifiedllvm/include/llvm/Analysis/IRSimilarityIdentifier.h (diff)
The file was modifiedllvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp (diff)
Commit 0a8e097e72dfc148df1d9345aba52e75cdc5aa50 by andrew.litteken
Revert "[IRSim] Adding structural comparison to IRSimilarityCandidate."

This reverts commit b27db2bb68163fa5bcb4a8f631a305eb5adb44e5.
The file was modifiedllvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp (diff)
The file was modifiedllvm/include/llvm/Analysis/IRSimilarityIdentifier.h (diff)
The file was modifiedllvm/lib/Analysis/IRSimilarityIdentifier.cpp (diff)
Commit d1aa143aa84e20a8cdef24a0b5ccf70941884534 by andrew.litteken
[IRSim] Adding structural comparison to IRSimilarityCandidate.

Just because sequences of instructions are similar to one another,
doesn't mean they are doing the same thing.

This introduces a structural check for the IRSimilarityCandidate that
compares two IRSimilarityCandidates against one another, and in each
instruction creates a mapping between the operands and results, or
checks that the existing mapping is valid.  If this check passes, it
means we have structurally similar IRSimilarityCandidates.

Tests for whether the candidates are found in
unittests/Analysis/IRSimilarityIdentifierTest.cpp.

Recommit of: b27db2bb68163fa5bcb4a8f631a305eb5adb44e5 for Differential
URL.

Differential Revision: https://reviews.llvm.org/D86971
The file was modifiedllvm/include/llvm/Analysis/IRSimilarityIdentifier.h (diff)
The file was modifiedllvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp (diff)
The file was modifiedllvm/lib/Analysis/IRSimilarityIdentifier.cpp (diff)
Commit 6b136b19cbe4e96adea63b75f1f2f76ec25c708e by amy.kwan1
[Power10]  Implement custom codegen for the vec_replace_elt and vec_replace_unaligned builtins.

This patch implements custom codegen for the vec_replace_elt and
vec_replace_unaligned builtins.

These builtins map to the @llvm.ppc.altivec.vinsw and @llvm.ppc.altivec.vinsd
intrinsics depending on the arguments. The main motivation for doing custom
codegen for these intrinsics is because there are float and double versions of
the builtin. Normally, the converting the float to an integer would be done via
fptoui in the IR. This is incorrect as fptoui truncates the value and we must
ensure the value is not truncated. Therefore, we provide custom codegen to utilize
bitcast instead as bitcasts do not truncate.

Differential Revision: https://reviews.llvm.org/D83500
The file was addedclang/test/CodeGen/builtins-ppc-vec-ins-error.c
The file was modifiedclang/lib/Headers/altivec.h (diff)
The file was modifiedclang/lib/Sema/SemaChecking.cpp (diff)
The file was modifiedclang/test/CodeGen/builtins-ppc-p10vector.c (diff)
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp (diff)
The file was modifiedclang/include/clang/Basic/BuiltinsPPC.def (diff)
Commit e1ef7183c6f008fa13cbe273500b020c4fad1252 by Jonas Devlieghere
[dwarfdump] Warn for tags with DW_CHILDREN_yes but no children.

Flag DIEs that have DW_CHILDREN_yes set in their abbreviation but don't
actually have any children.

rdar://59809554

Differential revision: https://reviews.llvm.org/D88048
The file was modifiedllvm/test/DebugInfo/X86/skeleton-unit-verify.s (diff)
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/verify_die_ranges.s (diff)
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp (diff)
The file was addedllvm/test/tools/llvm-dwarfdump/X86/no-children.yaml
Commit 0328feb086fca6ed8e57265aa073d7600ac9079c by dblaikie
DebugInfo: Filter DWARFv5 TUs out of the debug_info unit list when CUs requested

Since DWARFv5 places TUs in debug_info, some of DWARFContext's APIs have
become a bit erroneous, including TUs in the CU list by accident.
Correct that by providing compile_units (& dwo_compile_units) that
filter out the type units from the debug_info units.

Differential Revision: https://reviews.llvm.org/D87935
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFContext.h (diff)
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h (diff)
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp (diff)
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h (diff)
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp (diff)
Commit beeceb92c082ce13807504b1e8f0567bf91d17ea by andrew.litteken
[IRSim][NFC] Removing warning from IRSimilarityIdentifier
The file was modifiedllvm/lib/Analysis/IRSimilarityIdentifier.cpp (diff)
Commit 505ac22f1a1ada261280d979862d8af541016f77 by Xing
[DWARFYAML] Make the ExtLen field of extended opcodes optional.

This patch makes the 'ExtLen' field of extended opcodes optional. We
don't need to manually calculate it in the future.

Reviewed By: jhenderson, MaskRay

Differential Revision: https://reviews.llvm.org/D88136
The file was modifiedllvm/lib/ObjectYAML/DWARFYAML.cpp (diff)
The file was modifiedllvm/test/tools/yaml2obj/ELF/DWARF/debug-line.yaml (diff)
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp (diff)
The file was modifiedllvm/include/llvm/ObjectYAML/DWARFYAML.h (diff)
The file was modifiedllvm/tools/obj2yaml/dwarf2yaml.cpp (diff)
Commit b63bfc2030dedf1f94fd074805993b53c5a71caf by andrew.litteken
[IRSim] Adding a basic similarity identifier.

This takes the mapped instructions from the IRInstructionMapper, and
passes it to the Suffix Tree to find the repeated substrings.  Within
each set of repeated substrings, the IRSimilarityCandidates are compared
against one another for structure, and ensuring that the operands in the
instructions are used in the same way.  Each of these structurally
similarity IRSimilarityCandidates are contained in a SimilarityGroup.

Tests checking for identifying identity of structure, different
isomorphic structure, and different
nonisomoprhic structure are found in
unittests/Analysis/IRSimilarityIdentifierTest.cpp.

Differential Revision: https://reviews.llvm.org/D86972
The file was modifiedllvm/lib/Analysis/IRSimilarityIdentifier.cpp (diff)
The file was modifiedllvm/include/llvm/Analysis/IRSimilarityIdentifier.h (diff)
The file was modifiedllvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp (diff)
Commit c367f93e8539c4d0bcdc86ad7ea7923e06231a93 by omair.javaid
Revert "[lld-macho] Implement and test resolution of common symbols"

This reverts commit cd7cb0c30305501982ba37b4905bb264b3539ad0.
Break lldb Arm build:
http://lab.llvm.org:8011/builders/lldb-arm-ubuntu/builds/4409
The file was modifiedlld/MachO/SymbolTable.cpp (diff)
The file was modifiedlld/test/MachO/nonweak-definition-override.s (diff)
The file was removedlld/test/MachO/common-symbol-resolution.s
Commit 8112d494d344dc0935d5c078f066a43d7c984e0c by omair.javaid
Revert "[lld-macho] Initial support for common symbols"

This reverts commit 63ace77962543f961f1d566dd1243b1fb37129ef.

Breaks LLDB Arm build:
http://lab.llvm.org:8011/builders/lldb-arm-ubuntu/builds/4409
The file was removedlld/test/MachO/common-symbol-coalescing.s
The file was modifiedlld/MachO/Driver.cpp (diff)
The file was modifiedlld/MachO/Symbols.h (diff)
The file was modifiedlld/MachO/SymbolTable.cpp (diff)
The file was modifiedlld/MachO/SymbolTable.h (diff)
The file was modifiedlld/MachO/InputFiles.cpp (diff)
The file was modifiedlld/MachO/SyntheticSections.h (diff)
Commit 99edb9b79c46706a41921c4edb1b849c1a618d26 by andrzej.warzynski
[flang][driver] Fix options flag in the frontend driver

In the frontend driver we should be using FC1Option (frontend driver
options) instead of FlangOption (flang driver options).

Differential Revision: https://reviews.llvm.org/D88108
The file was modifiedflang/lib/FrontendTool/ExecuteCompilerInvocation.cpp (diff)
Commit 7a6627b83539cc3b7970764e96dcfc2c9607b47f by kiran.chandramohan
[OpenMP][MLIR] Add assembly format for master op

Reviewed By: SouraVX, kiranktp

Differential Revision: https://reviews.llvm.org/D87549
The file was modifiedmlir/test/Dialect/OpenMP/ops.mlir (diff)
The file was modifiedmlir/include/mlir/Dialect/OpenMP/OpenMPOps.td (diff)
Commit 2f90e01a963acc1a4db2fbdd1c7fcf1433955744 by andrzej.warzynski
[flang][driver] Add missing dependency in CMake files

The Flang driver depends on libclangBasic. This means, among other
things, that some of the tablegen files (e.g. diagnostic definitions)
need to be generated before various libclangBasic header files can be
included (e.g. DiagnosticIDs.h). If we are lucky, libclangBasic is
indeed built before various flang driver libraries that depend on it
are. This patch makes sure that this is deterministic - i.e.
libclangBasic is built before the Flang driver libraries are.

Differential Revision: https://reviews.llvm.org/D88110
The file was modifiedflang/lib/Frontend/CMakeLists.txt (diff)
The file was modifiedflang/lib/FrontendTool/CMakeLists.txt (diff)
Commit 27da2875070ac00f6cd9f8040c6f994aca915406 by andrzej.warzynski
[flang][NFC] Fix CMake variable name in README.md

The CMake variable for the new flang driver is FLANG_BUILD_NEW_DRIVER
rather than BUILD_FLANG_NEW_DRIVER.
The file was modifiedflang/README.md (diff)
Commit 64168c6d996b6fdd017488785e0e9ce5ce05be54 by kadircet
[clangd] Disable suffix matching fallback for C during include insertion

Clangd currently doesn't respect language and breaks the builds with
include insertion for C. This patch aims to stop the bleeding by not mapping
back to CPP standard library headers.

Improves https://github.com/clangd/clangd/issues/376.

Differential Revision: https://reviews.llvm.org/D88144
The file was modifiedclang-tools-extra/clangd/unittests/CanonicalIncludesTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/index/CanonicalIncludes.cpp (diff)
Commit 98756d865b696bece858ff0832ed3687b6b8ba4b by sam.mccall
[clangd] Fix comment. NFC
The file was modifiedclang-tools-extra/clangd/XRefs.cpp (diff)
Commit e60a760b7da970b6eeabc26faa9e065ec7cec1a8 by alexshap
[llvm-objcopy][MachO] Fix --add-section

This diff fixes --add-section functionality and simplifies the tests organization.

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D87497
The file was addedllvm/test/tools/llvm-objcopy/MachO/add-section-32.test
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.h (diff)
The file was removedllvm/test/tools/llvm-objcopy/MachO/add-section.test
The file was addedllvm/test/tools/llvm-objcopy/MachO/add-section-error.test
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.cpp (diff)
The file was addedllvm/test/tools/llvm-objcopy/MachO/add-section-64.test
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp (diff)
Commit 56ffb8d1697932c1097fba3315dba6d9e55b7bb8 by pifon
[mlir] Stop allowing LLVMType Int arguments for GPULaunchFuncOp.

Conversion to LLVM becomes confusing and incorrect if someone tries to lower
STD -> LLVM and only then GPULaunchFuncOp to LLVM separately. Although it is
technically allowed now, it works incorrectly because of the argument
promotion. The correct way to use this conversion pattern is to add to the
STD->LLVM patterns before running the pass.

Differential Revision: https://reviews.llvm.org/D88147
The file was modifiedmlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir (diff)
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUOps.td (diff)
Commit 4035cb7ac5755357222b6a83d76bdc4c2d718c54 by david.sherwood
[SVE] Add new isKnownXX comparison functions to TypeSize

This patch introduces four new comparison functions:

  isKnownLT, isKnownLE, isKnownGT, isKnownGE

that return true if we know at compile time that a particular
condition is met, i.e. that one size is definitely greater than
another. The existing operators <,>,<=,>= remain in the code for
now, but over time we would like to remove them and change the
code to use the isKnownXY routines instead. These functions do
not assert like the existing operators because the caller is
expected to properly deal with cases where we return false by
analysing the scalable properties. I've made more of an effort
to deal with cases where there are mixed comparisons, i.e. between
fixed width and scalable types.

I've also added some knownBitsXY routines to the EVT and MVT
classes that call the equivalent TypeSize::isKnownXY routines.
I've changed the existing bitsXY functions to call their knownBitsXY
equivalents and added asserts that the scalable properties match.
Again, over time we expect to migrate callers to use knownBitsXY
and make the code more aware of the scalable nature of the sizes.

Differential revision: https://reviews.llvm.org/D88098
The file was modifiedllvm/include/llvm/CodeGen/ValueTypes.h (diff)
The file was modifiedllvm/include/llvm/Support/TypeSize.h (diff)
The file was modifiedllvm/include/llvm/Support/MachineValueType.h (diff)
Commit 8cc842a95072aaa87b5067a12aa9ef5b3ac8e592 by mikhail.maltsev
[clang][Sema] Use enumerator instead of hard-coded constant

Sema::DiagnoseSwiftName uses the constant 12 instead of the
corresponding enumerator ExpectedFunctionWithProtoType. This is
fragile and will fail if a new value gets added in the middle of the
enum.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D88164
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp (diff)
Commit a1217620a87f66616c15e869d56783ba18e51b12 by mikael.holmen
[unittests] Use std::make_tuple to make some toolchains happy again

My toolchain stopped working (LLVM 8.0, libstdc++ 5.4.0) after 577adda:

06:25:37 ../unittests/Support/Path.cpp:91:7: error: chosen constructor is explicit in copy-initialization
06:25:37       {"", false, false},  {"/", true, true},      {"/foo", true, true},
06:25:37       ^~~~~~~~~~~~~~~~~~
06:25:37 /proj/flexasic/app/llvm/8.0/bin/../lib/gcc/x86_64-unknown-linux-gnu/5.4.0/../../../../include/c++/5.4.0/tuple:479:19: note: explicit constructor declared here
06:25:37         constexpr tuple(_UElements&&... __elements)
06:25:37                   ^

This commit adds explicit calls to std::make_tuple to work around
the problem.
The file was modifiedllvm/unittests/Support/Path.cpp (diff)
Commit a90d72127a814ea242227456be711aca07cc83a6 by pifon
[llvm] Use instead of  in IRSimilarityIdentifierTest.cpp.
The file was modifiedllvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp (diff)
Commit 5ad06e43992a766fe048a1b964fd6fd1f10ade71 by georgemitenk0v
[MLIR][docs] Fix typos

Fixed typos in SPIR-V to LLVM manual.

Reviewed By: georgemitenkov

Differential Revision: https://reviews.llvm.org/D88202
The file was modifiedmlir/docs/SPIRVToLLVMDialectConversion.md (diff)
Commit 00e05b12c76c396688cd8d4caac09a2e96851fd9 by sam.mccall
[clangd] Reorder a little bit of init code. NFC

This makes it possible to do something else (run checks) instead of
starting the server, with all config applied.
The file was modifiedclang-tools-extra/clangd/tool/ClangdMain.cpp (diff)
Commit 15c9af5618c8c4a810994df53543af9060086a8e by ro
[asan][test] Disable malloc-no-intercept.c on Solaris

`TestCases/malloc-no-intercept.c` `FAIL`s on Solaris/x86, e.g. with
`-Dtestfunc=mallinfo`:

  /usr/bin/ld: /tmp/malloc-no-intercept-586529.o: in function `main':
  /vol/llvm/src/llvm-project/dist/compiler-rt/test/asan/TestCases/malloc-no-intercept.c:30: undefined reference to `nonexistent_function'
  clang-12: error: linker command failed with exit code 1 (use -v to see invocation)

This is not surprising, actually:

- `mallinfo` and `mallopt` only exist in `libmalloc`
- `pvalloc` doesn't exist all all
- `cfree` does exist in `libc`, but isn't declared in any public header and
  the OpenSolaris sources reveal that it has a different signature than on
  Linux
- only `memalign` is a public interface

To avoid this, this patch disables the interceptors for all but `meminfo`.
Additionally, the test is marked `UNSUPPORTED` on Solaris since the
`memalign` and `cfree` variants **do** link on Solaris.

Tested on `amd64-pc-solaris2.11`.

Differential Revision: https://reviews.llvm.org/D87898
The file was modifiedcompiler-rt/test/asan/TestCases/malloc-no-intercept.c (diff)
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h (diff)
Commit d4ddf63fc40cfbbc348adcc45cdc6f6d78268c5c by flo
[SCEV] Use loop guard info when computing the max BE taken count in howFarToZero.

For some expressions, we can use information from loop guards when
we are looking for a maximum. This patch applies information from
loop guards to the expression used to compute the maximum backedge
taken count in howFarToZero. It currently replaces an unknown
expression X with UMin(X, Y), if the loop is guarded by
X ult Y.

This patch is minimal in what conditions it applies, and there
are a few TODOs to generalize.

This partly addresses PR40961. We will also need an update to
LV to address it completely.

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D67178
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolution.h (diff)
The file was modifiedllvm/unittests/Analysis/ScalarEvolutionTest.cpp (diff)
The file was modifiedllvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info.ll (diff)
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/pr36032.ll (diff)
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp (diff)
Commit 5bddaf6dbf77085863346d3171023e30972b7323 by grimar
[llvm-readobj] - Fix a warning.

In a post review comments for D88097 it was mentioned that code
triggers bunch of warnings of the form:

llvm/tools/llvm-readobj/ELFDumper.cpp:5299:28: warning: loop variable 'Note' is always a copy because
the range of type 'iterator_range<llvm::object::ELFFile<llvm::object::ELFType<llvm::support::big, true> >::Elf_Note_Iterator>'
(aka 'iterator_range<Elf_Note_Iterator_Impl<ELFType<(llvm::support::endianness)0U, true> > >') does not return a reference [-Wrange-loop-analysis]
      for (const Elf_Note &Note : this->Obj.notes(P, Err))

It happens because Elf_Note is always copied here:

Elf_Note_Impl<ELFT> operator*() const {
  assert(Nhdr && "dereferenced ELF note end iterator");
  return Elf_Note_Impl<ELFT>(*Nhdr);
}

This patch fixes the issue by removing a reference.
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp (diff)
Commit bb0597067d1e7410e67d8c7d8a4c0ec9e6b26cd0 by grimar
[llvm-readelf/obj] - Stop printing wrong addresses for arm32 unwind info for non-relocatable objects.

This is the first patch for https://bugs.llvm.org/show_bug.cgi?id=47581.

Currently -u does not compute function addresses correctly and
dumps broken addresses for non-relocatable objects.

ARM spec says:
"An index table entry consists of 2 words.
The first word contains a prel31 offset (see Relocations) to the start of a function, with bit 31 clear."
...
"The relocated 31 bits form a place-relative signed offset to the referenced entity.
For brevity, this document will refer to the results of these relocations as "prel31 offsets"."

(https://developer.arm.com/documentation/ihi0038/c/?lang=en#index-table-entries)
(https://developer.arm.com/documentation/ihi0038/c/?lang=en#relocations)

Currently we use an address of the SHT_ARM_EXIDX section instead of an address of an entry
in computations. As a result we compute an offset that is not really "place-relative",
but section relative, what is wrong.

The patch fixes this issue.

Differential revision: https://reviews.llvm.org/D88076
The file was addedllvm/test/tools/llvm-readobj/ELF/ARM/unwind-non-relocatable.test
The file was modifiedllvm/tools/llvm-readobj/ARMEHABIPrinter.h (diff)
Commit 590cc068c160f3b623d47fb34fd1d26848cb0e0a by sepavloff
Use different name for auto variable

Without this change GCC 5.4.0 failed to compile JSON.cpp with the error:

    .../llvm-project/llvm/lib/Support/JSON.cpp: In lambda function:
    .../llvm-project/llvm/lib/Support/JSON.cpp:291:29: error: use of 'V' before deduction of 'auto'
           for (const auto &V : *V.getAsArray())
The file was modifiedllvm/lib/Support/JSON.cpp (diff)
Commit a4e42601d44b39fb0b2782344f5ed4ea53de5f20 by james.henderson
[lld][ELF][test] Add a couple of test cases for LTO behaviour

This patch expands two LTO test cases to check other aspects.

1) weak.ll has been expanded to show that it doesn't matter whether the
   first appearance of a weak symbol appears in a bitcode file or native
   object - that one is picked.
2) reproduce-lto.ll has been expanded to show that the bitcode files are
   stored in the reproduce package and that intermediate files (such as
   the LTO-compiled object) are not.

Differential Revision: https://reviews.llvm.org/D88094

Reviewed by: grimar, MaskRay
The file was modifiedlld/test/ELF/lto/weak.ll (diff)
The file was modifiedlld/test/ELF/reproduce-lto.s (diff)
Commit 4e534900476d2a5c620e74ddb9c9e7d321e6d443 by development
[NFC][Docs] fix clang-docs compilation
The file was modifiedclang/docs/analyzer/checkers.rst (diff)
The file was modifiedclang/include/clang/Basic/AttrDocs.td (diff)
Commit 3ed04f93e30121867a813a220452b97aebeb1730 by a.v.lapshin
[llvm-objcopy][NFC] refactor error handling. part 1.

Remove usages of special error reporting functions(error(),
reportError()). This patch is extracted from D87987.
Errors are reported as Expected<>/Error returning values.
This part is for MachO subfolder of llvm-objcopy.

Testing: check-all.

Reviewed By: jhenderson, alexshap

Differential Revision: https://reviews.llvm.org/D88113
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp (diff)
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.h (diff)
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.cpp (diff)
Commit b2c46633d1296a9080098abc4e6c6214d19005c0 by spatel
[APFloat] add tests for convert of NAN; NFC

More coverage for the bug fix proposed in D87835.
The file was modifiedllvm/unittests/ADT/APFloatTest.cpp (diff)
Commit 10c94d8cf876952edb0dee20219259166c27c21d by andrzej.warzynski
[flang][driver] Remove unnecessary includes in the unittest (NFC)

Differential Revision: https://reviews.llvm.org/D88219
The file was modifiedflang/unittests/Frontend/CompilerInstanceTest.cpp (diff)
Commit 956a84da0616eb761297b46aa65750d738fb1544 by david.truby
    [flang] [OpenMP 4.5] Adding lit test cases for OpenMP Constructs.

1. Section 2.5   : Parallel Construct
2. Section 2.7.1 : Loop Construct
3. Section 2.7.2 : Sections Construct
4. Section 2.7.3 : Single Construct
5. Section 2.7.4 : Workshare Construct
6. Section 2.8.1 : Simd Construct
7. Section 2.8.3 : Loop Simd Construct
8. Section 2.9.1 : Task Construct
9. Section 2.9.2 : Taskloop Construct
10. Section 2.9.3 : Taskloop Simd Construct

Most of the test cases added as part of this change contains semantic errors except few cases which are semantically correct but thrown a semantic error.

Currently flang is not throwing the errors for these cases and throwing semantic errors for the following correct test cases

{omp-do03.f90 , omp-loop-simd01.f90 , omp-simd02.f90 , omp-taskloop01.f90}

Hence, all the test cases are marked as XFAIL.

Reviewed By: DavidTruby

Differential Revision: https://reviews.llvm.org/D87908
The file was addedflang/test/Semantics/omp-do01.f90
The file was addedflang/test/Semantics/omp-parallell01.f90
The file was addedflang/test/Semantics/omp-taskloop02.f90
The file was addedflang/test/Semantics/omp-taskloop03.f90
The file was addedflang/test/Semantics/omp-taskloop-simd01.f90
The file was addedflang/test/Semantics/omp-workshare02.f90
The file was addedflang/test/Semantics/omp-simd01.f90
The file was addedflang/test/Semantics/omp-do04.f90
The file was addedflang/test/Semantics/omp-do08.f90
The file was addedflang/test/Semantics/omp-do07.f90
The file was addedflang/test/Semantics/omp-do10.f90
The file was addedflang/test/Semantics/omp-taskloop01.f90
The file was addedflang/test/Semantics/omp-workshare01.f90
The file was addedflang/test/Semantics/omp-do06.f90
The file was addedflang/test/Semantics/omp-task01.f90
The file was addedflang/test/Semantics/omp-do03.f90
The file was addedflang/test/Semantics/omp-sections01.f90
The file was addedflang/test/Semantics/omp-single01.f90
The file was addedflang/test/Semantics/omp-parallell02.f90
The file was addedflang/test/Semantics/omp-single02.f90
The file was addedflang/test/Semantics/omp-simd03.f90
The file was addedflang/test/Semantics/omp-loop-simd01.f90
The file was addedflang/test/Semantics/omp-simd02.f90
The file was addedflang/test/Semantics/omp-do02.f90
The file was addedflang/test/Semantics/omp-do05.f90
The file was addedflang/test/Semantics/omp-do09.f90
Commit 4da6927de47074f56531c2e7e2eecc4d6a1f09ec by a.v.lapshin
Fix a builtbot failure after 3ed04f93e30121867a813a220452b97aebeb1730.
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.cpp (diff)
Commit 24f510570fedf2ac6ea421478c7500d777c8c3c6 by alexandre.ganea
[Support] On Windows, ensure abort() can be catched several times in a row with CrashRecoveryContext

Before this patch, the CrashRecoveryContext would only catch the first abort(). Any further calls to abort() inside subsquent CrashRecoveryContexts would not be catched. This is because the Windows CRT removes the abort() handler before calling it.

This is part of https://reviews.llvm.org/D70378
The file was modifiedllvm/include/llvm/Support/CrashRecoveryContext.h (diff)
The file was modifiedllvm/lib/Support/CrashRecoveryContext.cpp (diff)
The file was modifiedllvm/unittests/Support/CrashRecoveryTest.cpp (diff)
Commit b3418cb4eb1456c41606f4621dcfa362fe54183c by alexandre.ganea
[lit] Support running tests on Windows without GnuWin32

Historically, we have told contributors that GnuWin32 is a pre-requisite
because our tests depend on utilities such as sed, grep, diff, and more.
However, Git on Windows includes versions of these utilities in its
installation.  Furthermore, GnuWin32 has not been updated in many years.
For these reasons, it makes sense to have the ability to run llvm tests
in a way that is both:
  a) Easier on the user (less stuff to install)
  b) More up-to-date (The verions that ship with git are at least as
     new, if not newer, than the versions in GnuWin32.

We add support for this here by attempting to detect where Git is
installed using the Windows registry, confirming the existence of
several common Unix tools, and then adding this location to lit's PATH
environment.

Differential Revision: https://reviews.llvm.org/D84380
The file was modifiedllvm/utils/lit/lit/llvm/config.py (diff)
Commit f5314d15af4f4514103ea12c74cb208538b8bef5 by alexandre.ganea
[Support] On Unix, let the CrashRecoveryContext return the signal code

Before this patch, the CrashRecoveryContext was returning -2 upon a signal, like ExecuteAndWait does. This didn't match the behavior on Windows, where the the exception code was returned.

We now return the signal's code, which optionally allows for re-throwing the signal later. Doing so requires all custom handlers to be removed first, through llvm::sys::unregisterHandlers() which we made a public API.

This is part of https://reviews.llvm.org/D70378
The file was modifiedllvm/lib/Support/Windows/Signals.inc (diff)
The file was modifiedllvm/lib/Support/Unix/Signals.inc (diff)
The file was modifiedllvm/lib/Support/CrashRecoveryContext.cpp (diff)
The file was modifiedclang/tools/driver/driver.cpp (diff)
The file was modifiedllvm/include/llvm/Support/Signals.h (diff)
The file was modifiedllvm/unittests/Support/CrashRecoveryTest.cpp (diff)
Commit 9d9a11c7be037cbbfb5239b72dbeb48dd2601bbc by sam.parker
[ARM] Check for LSTP side-effects.

If the LSTP instruction is inserted with an element count low enough
to immediately predicate some lanes as false, this can have some
unintended effects on any proceeding MVE instructions in the
preheader.

Differential Revision: https://reviews.llvm.org/D88209
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/lstp-insertion-position.mir (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/mov-after-dlstp.mir (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-gather-scatter-tailpred.ll (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/iv-two-vcmp.mir (diff)
Commit 2fc690ac904c657dad9159926074ec62edebcd8e by sjoerd.meijer
[ARM] LowoverheadLoops: add an option to disable tail-predication

This might be useful for testing. We already have an option -tail-predication
but that controls the MVETailPredication pass.  This
-arm-loloops-disable-tail-pred is just for disabling it in the LowoverheadLoops
pass.

Differential Revision: https://reviews.llvm.org/D88212
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/tail-pred-disabled-in-loloops.ll
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp (diff)
Commit a815578c31775f3bca57a6ede65787aa152bafbd by llvm-dev
[AArch64] Regenerate dag-combine-mul-shl.ll checks
The file was modifiedllvm/test/CodeGen/AArch64/dag-combine-mul-shl.ll (diff)
Commit e39da8ab6a286ac777d5fe7799f1eb782cf99938 by Yaxun.Liu
Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions"

This recommits 7f1f89ec8d9944559042bb6d3b1132eabe3409de and
40df06cdafc010002fc9cfe1dda73d689b7d27a6 after fixing memory
sanitizer failure.
The file was modifiedclang/lib/Driver/ToolChains/HIP.cpp (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticDriver.h (diff)
The file was modifiedclang/lib/Sema/SemaType.cpp (diff)
The file was modifiedclang/include/clang/Basic/LangOptions.def (diff)
The file was modifiedclang/lib/Sema/AnalysisBasedWarnings.cpp (diff)
The file was modifiedclang/include/clang/Basic/Diagnostic.td (diff)
The file was modifiedclang/lib/Sema/SemaStmtAsm.cpp (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticSema.h (diff)
The file was modifiedclang/lib/Sema/SemaOverload.cpp (diff)
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticFrontend.h (diff)
The file was addedclang/test/SemaCUDA/deferred-oeverload.cu
The file was modifiedclang/utils/TableGen/ClangDiagnosticsEmitter.cpp (diff)
The file was modifiedclang/lib/Sema/SemaExprObjC.cpp (diff)
The file was modifiedclang-tools-extra/clangd/Diagnostics.cpp (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticSerialization.h (diff)
The file was modifiedclang/lib/Sema/SemaCUDA.cpp (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td (diff)
The file was modifiedclang/tools/diagtool/DiagnosticNames.cpp (diff)
The file was modifiedclang/lib/Sema/SemaDecl.cpp (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticAST.h (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticAnalysis.h (diff)
The file was addedclang/test/TableGen/deferred-diag.td
The file was modifiedclang/lib/Driver/ToolChains/Cuda.cpp (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticCrossTU.h (diff)
The file was modifiedclang/lib/Sema/Sema.cpp (diff)
The file was modifiedclang/lib/Sema/SemaSYCL.cpp (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticLex.h (diff)
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp (diff)
The file was modifiedclang/test/TableGen/DiagnosticBase.inc (diff)
The file was modifiedclang/lib/Sema/SemaAttr.cpp (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticRefactoring.h (diff)
The file was modifiedclang/lib/Basic/DiagnosticIDs.cpp (diff)
The file was modifiedclang/lib/Sema/SemaTemplateVariadic.cpp (diff)
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp (diff)
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticParse.h (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticIDs.h (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticComment.h (diff)
The file was modifiedclang/lib/Sema/SemaStmt.cpp (diff)
The file was modifiedclang/include/clang/Driver/Options.td (diff)
The file was modifiedclang/include/clang/Sema/Sema.h (diff)
Commit 4b64ce7428b66cacfe74dbd9dbc29aff6dfb84af by alexandre.ganea
Improve 723fea23079f9c85800e5cdc90a75414af182bfd - Silence 'warning: unused variable' when compiling with Clang 10.0
The file was modifiedllvm/lib/CodeGen/PeepholeOptimizer.cpp (diff)
Commit a6a6ccfc4c8b348d6d534657e16bb7504b9f2888 by alexandre.ganea
Fix f5314d15af4f4514103ea12c74cb208538b8bef5 - [Support] On Unix, let the CrashRecoveryContext return the signal code

This was causing bots to fail: http://green.lab.llvm.org/green/job/clang-stage1-RA/14828/consoleFull#6384962949ba4694-19c4-4d7e-bec5-911270d8a58c
The file was modifiedllvm/unittests/Support/CrashRecoveryTest.cpp (diff)
Commit ff00b58392527419ea32d0b97575ef973c1bd085 by uday
[MLIR] Normalize memrefs in LoadOp and StoreOp of Standard Ops

Added a trait, `MemRefsNormalizable` in LoadOp and StoreOp of Standard Ops
to normalize input memrefs in LoadOp and StoreOp.

Related revision: https://reviews.llvm.org/D86236

Differential Revision: https://reviews.llvm.org/D88156
The file was modifiedmlir/include/mlir/Dialect/StandardOps/IR/Ops.td (diff)
The file was modifiedmlir/test/Transforms/normalize-memrefs-ops.mlir (diff)
Commit 303e8cdacb106c4e1ba07d47ab60d71c03a2552c by luismarques
[NFC][RISCV][builtins] Remove some hard-coded values from i-cache clear routine

Remove some hard-coded values from i-cache clear routine

Differential Revision: https://reviews.llvm.org/D87578
The file was modifiedcompiler-rt/lib/builtins/clear_cache.c (diff)
Commit 0389eff4047a74bb1ba6c0603c9002b5c73b203e by thakis
lld: Try to fix check-lld on incremental builds after 8f2c31f22b974da
The file was modifiedlld/test/MachO/link-search-order.s (diff)
Commit 8e712807e4848ea4687cb5d27dca99237f4ebaa7 by spatel
[InstCombine] regenerate test checks; NFC
The file was modifiedllvm/test/Transforms/InstCombine/AMDGPU/ldexp.ll (diff)
Commit 9cf647bb3f88434e3ecba8e108d56fa4e3ed56f9 by spatel
[PhaseOrdering] move an 'opt' test from x86 codegen; NFC

This file comes from 2007, and I'm not entirely sure of the
motivation, but it was going through all of opt and llc.
The llc part is almost certainly unnecessary as shown in
the now auto-generated FileCheck lines.

This test may be affected by a logic change suggested in:
D87835
The file was removedllvm/test/CodeGen/X86/nancvt.ll
The file was addedllvm/test/Transforms/PhaseOrdering/nancvt.ll
Commit 2625433e77ef5e161536f6fd01ea68840cfcb0dc by spatel
[PhaseOrdering] move test with target requirement to x86 dir

I'm not sure if the target is actually necessary,
but since it was specified, I'm moving to the
appropriate dir to avoid bot fallout.
The file was addedllvm/test/Transforms/PhaseOrdering/X86/nancvt.ll
The file was removedllvm/test/Transforms/PhaseOrdering/nancvt.ll
Commit 8f72717ebe27209a11be80629c667332cd5e4e60 by georgemitenk0v
[MLIR][SPIRV] Fixed dialect loading in deserialization

Fixed an error when deserializing the SPIR-V binary
to MLIR SPIR-V. Before, the SPIR-V dialect was not loaded
explicitly into the context, which resulted in unregistered
operation error.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D88223
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/TranslateRegistration.cpp (diff)
Commit d65a7003c435de22b8e30dca292160fea822d887 by Matthew.Arsenault
OpaquePtr: Add helpers for sret to mirror byval

Sret should really have a type parameter like byval does.
The file was modifiedllvm/include/llvm/IR/Argument.h (diff)
The file was modifiedllvm/lib/IR/Function.cpp (diff)
The file was modifiedllvm/lib/Analysis/Lint.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/vectorcall.ll (diff)
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp (diff)
The file was modifiedllvm/include/llvm/IR/Function.h (diff)
The file was modifiedllvm/lib/IR/Value.cpp (diff)
Commit dc08185ca797a3bcd7721a0d55db876a6cc4de10 by Matthew.Arsenault
IR: Have byref imply dereferenceable

The langref already states it does, but this wasn't implemented. Also
covers inalloca and preallocated. Also helps fix a dependence on
pointer element types.
The file was modifiedllvm/lib/IR/Value.cpp (diff)
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_kernel.ll (diff)
The file was modifiedllvm/test/Transforms/InstCombine/AMDGPU/memcpy-from-constant.ll (diff)
The file was modifiedllvm/test/Transforms/Attributor/readattrs.ll (diff)
Commit 6f7cd16d297155332ff2b4c7efb01ca592eb7753 by sebastian.neubauer
[AMDGPU] Fix v3f16 handling for getresinfo

v3f32 should not be expanded to v4f32. getresinfo with a dmask of 7
created an image sample with a v3f32 return value, which was bitcasted
to a v4f32 in constructRetValue.

Differential Revision: https://reviews.llvm.org/D88206
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.getresinfo.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.dim.ll (diff)
Commit c05cf1ca3c55362c5a8ef8a148c3b763cc8784e9 by jay.foad
[AMDGPU] Use cast instead of dyn_cast
The file was modifiedllvm/lib/Target/AMDGPU/R600ISelLowering.cpp (diff)

Summary

  1. clang-x86-ninja-win10 enabling LLD (details)
Commit b1195d9085987c09d9c1ada0b47122d6bfc00771 by kuhnel
clang-x86-ninja-win10 enabling LLD
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)