FailedChanges

Summary

  1. [DWARFYAML][debug_info] Teach yaml2obj emit correct DWARF64 unit header. (details)
  2. MemorySSAUpdater.h - remove unnecessary WeakVH forward declaration. NFC. (details)
  3. TargetSubtargetInfo.h - remove unnecessary forward declarations. NFC. (details)
  4. [AST] Add fixed-point subtraction constant evaluation. (details)
  5. [AST] Add fixed-point multiplication constant evaluation. (details)
  6. [AST] Add fixed-point division constant evaluation. (details)
  7. [AST] Improve overflow diagnostics for fixed-point constant evaluation. (details)
  8. [AST] Fix certain consteval assignment and comma operator issues with fixed-point types. (details)
  9. [clang driver] Move default module cache from system temporary directory (details)
  10. Triple.h - reduce Twine.h include to forward declarations. NFC. (details)
  11. Improve LegacyPassManager API to correctly report modified status (details)
  12. Fix implicit Twine.h include dependency. (details)
  13. [builtins] Improve compatibility with 16 bit targets (details)
  14. [MSP430] Update register names (details)
  15. [AArch64][SVE] Only support sizeless bfloat types if supported by subtarget (details)
  16. Fix implicit include dependencies on SmallVector.h. (details)
  17. [MLIR][Affine-loop-fusion] Fix a bug in affine-loop-fusion pass when there are non-affine operations (details)
  18. [mlir-tblgen] Use fully qualified names in generated code files (details)
  19. Add explicit Twine.h include to try and fix ICE on clang-ppc64be-linux (details)
  20. [lldb] Re-add X-Fail for Windows to TestDollarInVariable (details)
  21. [mlir] support returning unranked memrefs (details)
  22. [mlir] Avoid creating local OpBuilders in Standard-to-LLVM conversion (details)
  23. [mlir] fix off-by-one error in collapseParallelLoops (details)
  24. [MLIR][SPIRV] Add support for OpCopyMemory. (details)
  25. Revert rGf0bab7875e78e01c149d12302dcc4b6d4c43e25c - "Triple.h - reduce Twine.h include to forward declarations. NFC." (details)
  26. Fix pass return status for loop extractor (details)
  27. [AArch64][SVE] Remove asserts from AArch64ISelLowering for bfloat16 types (details)
  28. [CodeComplete] Add code completion for using alias. (details)
  29. [mlir][spirv] Add RewriteInserts pass. (details)
  30. AMDGPU/GlobalISel: Uncomment some fixed tests (details)
  31. AMDGPU/GlobalISel: Add baseline checks for legacy clover kernel ABI (details)
  32. AMDGPU/GlobalISel: Fix legacy clover kernel argument ABI (details)
  33. [Alignment][NFC] Migrate TTI::isLegalToVectorize{Load,Store}Chain to Align (details)
  34. [libTooling] Rename overloaded `range` range selector. (details)
  35. [MLIR][SPIRVToLLVM] Conversion for bitrverse and bitcount ops (details)
  36. Modify FPFeatures to use delta not absolute settings (details)
  37. Work around a bug in MSVC in the syntax tree test (details)
  38. Revert "Modify FPFeatures to use delta not absolute settings" (details)
  39. [llvm-exegesis] Let Counter returns up to 16 entries (details)
  40. Revert "Revert "Modify FPFeatures to use delta not absolute settings"" (details)
  41. [mlir][vulkan-runner] Make vulkan runner use GPU device memory (details)
  42. [NFC] Eliminate an unneeded -vv used in test development. (details)
  43. [sve][acle] Add reinterpret intrinsics for brain float. (details)
  44. [OpenMPOpt][NFC] Change ICV macros for initial value (details)
  45. Revert "Revert "Revert "Modify FPFeatures to use delta not absolute settings""" (details)
  46. [libc++abi] Fix build failure in abort_message.cpp when vasprintf isn't provided (details)
  47. [libTooling] Improve error message from failure in selection Stencil (details)
  48. [PPC][NFC] Add Subtarget and replace all uses of PPCSubTarget with Subtarget. (details)
  49. [NewPM][LoopUnroll] Rename unroll* to loop-unroll* (details)
  50. [SourceManager] don't check invalid param of getLocalSLocEntry() (details)
  51. Revert "[clang driver] Move default module cache from system temporary directory" (details)
  52. Migrate last batch of tests to gc-live bundle format (details)
  53. [flang] Port test_any.sh tests to FileCheck: Hand port tests which use regexes (details)
  54. [PGO] Add a functionality to always instrument the func entry BB (details)
  55. [flang] Port test_any.sh tests to FileCheck: Hand port getdefinition* tests (details)
  56. [flang] Port test_any.sh tests to FileCheck: Hand port getsymbols tests (details)
  57. [flang] Port test_any.sh tests to FileCheck: Hand port canondo{08-18} tests (details)
Commit 7686b2958416e27b4076bbb231c06825dd446a41 by Xing
[DWARFYAML][debug_info] Teach yaml2obj emit correct DWARF64 unit header.

This patch helps teach yaml2obj emit correct DWARF64 unit header of the .debug_info section.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D82621
The file was modifiedllvm/test/tools/yaml2obj/ELF/DWARF/debug-info.yaml
The file was modifiedllvm/lib/ObjectYAML/DWARFEmitter.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/DWARFYAML.h
Commit a1a355a42e76ebb3b7cefd30c9bde3c9ff7ba171 by llvm-dev
MemorySSAUpdater.h - remove unnecessary WeakVH forward declaration. NFC.

We have to include ValueHandle.h
The file was modifiedllvm/include/llvm/Analysis/MemorySSAUpdater.h
Commit 6fafde0387229d6656faee41100b73615343819a by llvm-dev
TargetSubtargetInfo.h - remove unnecessary forward declarations. NFC.

We have to include MCSubtargetInfo.h
The file was modifiedllvm/include/llvm/CodeGen/TargetSubtargetInfo.h
Commit eccf7fc7b31a00823a0fe6c782ef312b3ba743c4 by bevin.hansson
[AST] Add fixed-point subtraction constant evaluation.

Reviewers: rjmccall, leonardchan

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73185
The file was modifiedclang/lib/Basic/FixedPoint.cpp
The file was modifiedclang/test/Frontend/fixed_point_sub.c
The file was modifiedclang/include/clang/Basic/FixedPoint.h
The file was modifiedclang/lib/AST/ExprConstant.cpp
Commit 53f5c8b4a14c2ef89d44062a3a045be064bdc0e7 by bevin.hansson
[AST] Add fixed-point multiplication constant evaluation.

Reviewers: rjmccall, leonardchan, bjope

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73186
The file was modifiedclang/test/Frontend/fixed_point_mul.c
The file was modifiedclang/lib/Basic/FixedPoint.cpp
The file was modifiedclang/include/clang/Basic/FixedPoint.h
The file was modifiedclang/lib/AST/ExprConstant.cpp
Commit 94e8ec631dda98639930c3fcf6b84148cd58cd59 by bevin.hansson
[AST] Add fixed-point division constant evaluation.

Reviewers: rjmccall, leonardchan, bjope

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73187
The file was modifiedclang/lib/Basic/FixedPoint.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/include/clang/Basic/FixedPoint.h
The file was modifiedclang/test/Frontend/fixed_point_div.c
Commit 474177c05381a6eb2971e67753481b5efc78d848 by bevin.hansson
[AST] Improve overflow diagnostics for fixed-point constant evaluation.

Summary:
Diagnostics for overflow were not being produced for fixed-point
evaluation. This patch refactors a bit of the evaluator and adds
a proper diagnostic for these cases.

Reviewers: rjmccall, leonardchan, bjope

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73188
The file was modifiedclang/include/clang/Basic/DiagnosticASTKinds.td
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/Frontend/fixed_point_errors.c
Commit da2f852e1913a16a1c6940ce3d3e47158ae5ba0e by bevin.hansson
[AST] Fix certain consteval assignment and comma operator issues with fixed-point types.

Summary:
Assignment and comma operators for fixed-point types were being constevaled as other
binary operators, but they need special treatment.

Reviewers: rjmccall, leonardchan, bjope

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73189
The file was addedclang/test/Frontend/fixed_point_crash.c
The file was modifiedclang/lib/AST/ExprConstant.cpp
Commit bb26838ceffb5feaa18186f55f7525a08084899e by dave
[clang driver] Move default module cache from system temporary directory

1) Shared writable directories like /tmp are a security problem.
2) Systems provide dedicated cache directories these days anyway.
3) This also refines LLVM's cache_directory() on Darwin platforms to use
   the Darwin per-user cache directory.

Reviewers: compnerd, aprantl, jakehehrlich, espindola, respindola, ilya-biryukov, pcc, sammccall

Reviewed By: compnerd, sammccall

Subscribers: hiraditya, llvm-commits, cfe-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D82362
The file was modifiedclang/unittests/Driver/ModuleCacheTest.cpp
The file was modifiedclang/test/Driver/modules-cache-path.m
The file was modifiedclang/include/clang/Driver/Driver.h
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedllvm/lib/Support/Unix/Path.inc
The file was modifiedclang/docs/ReleaseNotes.rst
Commit f0bab7875e78e01c149d12302dcc4b6d4c43e25c by llvm-dev
Triple.h - reduce Twine.h include to forward declarations. NFC.

Move include down to a number of other files that had an implicit dependency on the Twine class.
The file was modifiedclang/lib/Basic/Targets/Mips.h
The file was modifiedllvm/include/llvm/Support/TargetRegistry.h
The file was modifiedllvm/unittests/ADT/TripleTest.cpp
The file was modifiedllvm/include/llvm/ADT/Triple.h
The file was modifiedclang/lib/Basic/IdentifierTable.cpp
The file was modifiedllvm/lib/Support/Triple.cpp
The file was modifiedllvm/unittests/Support/ThreadPool.cpp
The file was modifiedllvm/lib/MC/MCSectionELF.cpp
The file was modifiedllvm/unittests/Frontend/OpenMPContextTest.cpp
Commit 55fe7b79bb7fab49af3720840224c0720bdb03c6 by sguelton
Improve LegacyPassManager API to correctly report modified status

When calling on-the-fly passes from the legacy pass manager, the modification
status is not reported, which is a problem in case we depend on an acutal
transformation pass, and not only analyse.

Update the Legacy PM API to optionally report the changed status, assert if a
change is detected but this change is lost.

Related to https://reviews.llvm.org/D80916

Differential Revision: https://reviews.llvm.org/D81236
The file was modifiedllvm/include/llvm/Pass.h
The file was modifiedllvm/lib/IR/LegacyPassManager.cpp
The file was modifiedllvm/include/llvm/PassAnalysisSupport.h
The file was modifiedllvm/include/llvm/IR/LegacyPassManagers.h
Commit 754f3c4af4b8526d7576c8e92959ad10d40b6e2e by llvm-dev
Fix implicit Twine.h include dependency.
The file was modifiedlldb/tools/intel-features/intel-mpx/cli-wrapper-mpxtable.cpp
Commit a4e8f7fe3f38085c0fdd6e34e870f8e9c6c72861 by anton
[builtins] Improve compatibility with 16 bit targets

Some parts of existing codebase assume the default `int` type to be (at least) 32 bit wide. On 16 bit targets such as MSP430 this may cause Undefined Behavior or results being defined but incorrect.

Differential Revision: https://reviews.llvm.org/D81408
The file was modifiedcompiler-rt/lib/builtins/floatundidf.c
The file was modifiedcompiler-rt/lib/builtins/floatdidf.c
The file was modifiedcompiler-rt/lib/builtins/fp_lib.h
Commit cb56fa2196c5d80ce72e8e8f6ee2a7ac80acca77 by anton
[MSP430] Update register names

When writing a unit test on replacing standard epilogue sequences with `BR __mspabi_func_epilog_<N>`, by manually asm-clobbering `rN` - `r10` for N = 4..10, everything worked well except for seeming inability to clobber r4.

The problem was that MSP430 code generator of LLVM used an obsolete name FP for that register. Things were worse because when `llc` read an unknown register name, it silently ignored it.

That is, I cannot use `fp` register name from the C code because Clang does not accept it (exactly like GCC). But the accepted name `r4` is not recognised by `llc` (it can be used in listings passed to `llvm-mc` and even `fp` is replace to `r4` by `llvm-mc`). So I can specify any of `fp` or `r4` for the string literal of `asm(...)` but nothing in the clobber list.

This patch replaces `MSP430::FP` with `MSP430::R4` in the backend code (even [MSP430 EABI](http://www.ti.com/lit/an/slaa534/slaa534.pdf) doesn't mention FP as a register name). The R0 - R3 registers, on the other hand, are left as is in the backend code (after all, they have some special meaning on the ISA level). It is just ensured clang is renaming them as expected by the downstream tools. There is probably not much sense in **marking them clobbered** but rename them //just in case// for use at potentially different contexts.

Differential Revision: https://reviews.llvm.org/D82184
The file was modifiedllvm/lib/Target/MSP430/MSP430FrameLowering.cpp
The file was addedclang/test/CodeGen/msp430-register-names.c
The file was modifiedllvm/lib/Target/MSP430/MSP430ISelLowering.cpp
The file was modifiedllvm/lib/Target/MSP430/MSP430RegisterInfo.cpp
The file was modifiedllvm/lib/Target/MSP430/Disassembler/MSP430Disassembler.cpp
The file was modifiedclang/lib/Basic/Targets/MSP430.h
The file was modifiedllvm/test/CodeGen/MSP430/asm-clobbers.ll
The file was modifiedllvm/lib/Target/MSP430/MSP430RegisterInfo.td
The file was modifiedllvm/lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp
The file was addedllvm/test/CodeGen/MSP430/inline-asm-register-names.ll
Commit 4319c48fc7fd196864121db2066d3b3561577406 by cullen.rhodes
[AArch64][SVE] Only support sizeless bfloat types if supported by subtarget

Reviewers: sdesmalen, efriedma, kmclaughlin, fpetrogalli

Reviewed By: sdesmalen, fpetrogalli

Differential Revision: https://reviews.llvm.org/D82494
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 41eb63929183c0913886c407b925f1716234cf8e by simon.tatham
Fix implicit include dependencies on SmallVector.h.

Both `AArch64TargetParser.h` and `ARMTargetParser.h` refer to
`SmallVectorImpl` without directly including the header that defines
it, which works fine until nothing else happens to include it anyway.
The file was modifiedllvm/include/llvm/Support/AArch64TargetParser.h
The file was modifiedllvm/include/llvm/Support/ARMTargetParser.h
Commit 2b5d1776ffad2614756ef059d64b957c7731e7be by uday
[MLIR][Affine-loop-fusion] Fix a bug in affine-loop-fusion pass when there are non-affine operations

When there is a mix of affine load/store and non-affine operations (e.g. std.load, std.store),
affine-loop-fusion ignores the present of non-affine ops, thus changing the program semantics.

E.g. we have a program of three affine loops operating on the same memref in which one of them uses std.load and std.store, as follows.
```
affine.for
  affine.store %1
affine.for
  std.load %1
  std.store %1
affine.for
  affine.load %1
  affine.store %1
```
affine-loop-fusion will produce the following result which changed the program semantics:
```
affine.for
  std.load %1
  std.store %1
affine.for
  affine.store %1
  affine.load %1
  affine.store %1
```

This patch is to fix the above problem by checking non-affine users of the memref that are between the source and destination nodes of interest.

Differential Revision: https://reviews.llvm.org/D82158
The file was modifiedmlir/lib/Transforms/LoopFusion.cpp
The file was modifiedmlir/test/Transforms/loop-fusion.mlir
Commit 05b4ff0a4b1a822449e9bf98782b9d337e6f81cf by jean-michel.gorius
[mlir-tblgen] Use fully qualified names in generated code files

Using fully qualified names wherever possible avoids ambiguous class and function names. This is a follow-up to D82371.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D82471
The file was modifiedmlir/lib/TableGen/OpClass.cpp
The file was modifiedmlir/tools/mlir-tblgen/StructsGen.cpp
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp
The file was modifiedmlir/tools/mlir-tblgen/EnumsGen.cpp
The file was modifiedmlir/test/mlir-tblgen/predicate.td
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/test/mlir-tblgen/op-result.td
The file was modifiedmlir/test/mlir-tblgen/op-attribute.td
The file was modifiedmlir/unittests/TableGen/EnumsGenTest.cpp
The file was modifiedmlir/test/mlir-tblgen/op-interface.td
The file was modifiedmlir/test/mlir-tblgen/op-operand.td
The file was modifiedmlir/tools/mlir-tblgen/OpInterfacesGen.cpp
The file was modifiedmlir/test/mlir-tblgen/op-decl.td
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
The file was modifiedmlir/tools/mlir-tblgen/PassGen.cpp
The file was modifiedmlir/tools/mlir-tblgen/RewriterGen.cpp
The file was modifiedmlir/test/mlir-tblgen/op-side-effects.td
Commit 6551b7a9d8870ff67c275607fe730795644f99e7 by llvm-dev
Add explicit Twine.h include to try and fix ICE on clang-ppc64be-linux
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
Commit bb91520e4fe89ad35bc89578601bf1c35bd9d2fc by Raphael Isemann
[lldb] Re-add X-Fail for Windows to TestDollarInVariable

This got removed by accident in 048d11de43be087fd2fa0c5e35f20486f6094c29 when
the test was rewritten as a non-inline test.
The file was modifiedlldb/test/API/commands/expression/dollar-in-variable/TestDollarInVariable.py
Commit 6323065fd6026de926b15bb609f4601e366a300c by zinenko
[mlir] support returning unranked memrefs

Initially, unranked memref descriptors in the LLVM dialect were designed only
to be passed into functions. An assertion was guarding against returning
unranked memrefs from functions in the standard-to-LLVM conversion. This is
insufficient for functions that wish to return an unranked memref such that the
caller does not know the rank in advance, and hence cannot allocate the
descriptor and pass it in as an argument.

Introduce a calling convention for returning unranked memref descriptors as
follows. An unranked memref descriptor always points to a ranked memref
descriptor stored on stack of the current function. When an unranked memref
descriptor is returned from a function, the ranked memref descriptor it points
to is copied to dynamically allocated memory, the ownership of which is
transferred to the caller. The caller is responsible for deallocating the
dynamically allocated memory and for copying the pointed-to ranked memref
descriptor onto its stack.

Provide default lowerings for std.return, std.call and std.indirect_call that
maintain the conversion defined above.

This convention is additionally exercised by a runtime test to guard against
memory errors.

Differential Revision: https://reviews.llvm.org/D82647
The file was modifiedmlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/docs/ConversionToLLVMDialect.md
The file was modifiedmlir/test/Dialect/LLVMIR/roundtrip.mlir
The file was modifiedmlir/test/mlir-cpu-runner/unranked_memref.mlir
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedmlir/test/Conversion/StandardToLLVM/calling-convention.mlir
The file was modifiedmlir/test/Target/llvmir-intrinsics.mlir
Commit 8304ab5799b4172462877ca7495115c659ec0be0 by zinenko
[mlir] Avoid creating local OpBuilders in Standard-to-LLVM conversion

Conversions of allocation-related operations in Standard-to-LLVM need
declarations of "malloc" and "free" (or equivalents). They use locally created
OpBuilders pointed at the module level to declare these functions if necessary.
This is poorly compatible with the pattern infrastructure that is unaware of
new operations being created. Update the insertion point of the main rewriter
instead.

Differential Revision: https://reviews.llvm.org/D82649
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
Commit 652a79659a89b3634f34c6cf94a0b18b25ea4419 by tobias.gysi
[mlir] fix off-by-one error in collapseParallelLoops

Summary: The patch fixes an off by one error in the method collapseParallelLoops. It ensures the same normalized bound is used for the computation of the division and the remainder.

Reviewers: herhut

Reviewed By: herhut

Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, Kayjukh, jurahul, msifontes

Tags: #mlir

Differential Revision: https://reviews.llvm.org/D82634
The file was modifiedmlir/test/Transforms/single-parallel-loop-collapsing.mlir
The file was modifiedmlir/test/Transforms/parallel-loop-collapsing.mlir
The file was modifiedmlir/lib/Transforms/Utils/LoopUtils.cpp
Commit d6485ed3a7701364650bffabcbc277733f37eaa7 by antiagainst
[MLIR][SPIRV] Add support for OpCopyMemory.

This patch add support for 'spv.CopyMemory'. The following changes are
introduced:
- 'CopyMemory' op is added to SPIRVOps.td.
- Custom parse and print methods are introduced.
- A few Roundtripping tests are added.

Differential Revision: https://reviews.llvm.org/D82384
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/memory-ops.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVOps.td
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
The file was modifiedmlir/test/Dialect/SPIRV/ops.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
Commit 0069824feab0af5ade571d975deb1efd893c2466 by llvm-dev
Revert rGf0bab7875e78e01c149d12302dcc4b6d4c43e25c - "Triple.h - reduce Twine.h include to forward declarations. NFC."

This causes ICEs on the clang-ppc64be buildbots and I've limited ability to triage the problem.
The file was modifiedclang/lib/Basic/Targets/Mips.h
The file was modifiedllvm/include/llvm/Support/TargetRegistry.h
The file was modifiedllvm/lib/Support/Triple.cpp
The file was modifiedllvm/unittests/ADT/TripleTest.cpp
The file was modifiedllvm/include/llvm/ADT/Triple.h
The file was modifiedllvm/lib/MC/MCSectionELF.cpp
The file was modifiedllvm/unittests/Frontend/OpenMPContextTest.cpp
The file was modifiedclang/lib/Basic/IdentifierTable.cpp
The file was modifiedllvm/unittests/Support/ThreadPool.cpp
Commit 44f06db43941749b631756ff13cf7e8f7b2903fe by sguelton
Fix pass return status for loop extractor

As loop extractor has a dependency on another pass (namely BreakCriticalEdges)
that may update the IR, use the getAnalysis version introduced in
55fe7b79bb7fab49af3720840224c0720bdb03c6 to carry that change.

Add an assert in getAnalysisID to make sure no other changed status is missed -
according to validation this was the only one.

Related to https://reviews.llvm.org/D80916

Differential Revision: https://reviews.llvm.org/D81236
The file was modifiedllvm/include/llvm/PassAnalysisSupport.h
The file was modifiedllvm/lib/Transforms/IPO/LoopExtractor.cpp
Commit 6b313f198c95218b953f2c992f702f178c61cd1d by kerry.mclaughlin
[AArch64][SVE] Remove asserts from AArch64ISelLowering for bfloat16 types

Remove the asserts in performLDNT1Combine & performST[NT]1Combine
to ensure we get a failure where the type is a bfloat16 and
hasBF16() is false, regardless of whether asserts are enabled.
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit 5547a83c0b68a03a806d47782a4d3a6dc3b5d5f5 by kadircet
[CodeComplete] Add code completion for using alias.

Add code completion for using alias.

Patch By @lh123 !

Reviewers: kadircet

Differential Revision: https://reviews.llvm.org/D82535
The file was modifiedclang/test/CodeCompletion/ordinary-name-cxx11.cpp
The file was modifiedclang/test/CodeCompletion/ordinary-name.cpp
The file was modifiedclang/lib/Sema/SemaCodeComplete.cpp
Commit a2004c344bf0028313948e720da35da24bcbb7a9 by antiagainst
[mlir][spirv] Add RewriteInserts pass.

Add a pass to rewrite sequential chains of `spirv::CompositeInsert`
operations into `spirv::CompositeConstruct` operations.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D82198
The file was modifiedmlir/include/mlir/Dialect/SPIRV/Passes.h
The file was modifiedmlir/include/mlir/Dialect/SPIRV/Passes.td
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/CMakeLists.txt
The file was addedmlir/lib/Dialect/SPIRV/Transforms/RewriteInsertsPass.cpp
The file was addedmlir/test/Dialect/SPIRV/Transforms/rewrite-inserts.mlir
Commit b1cfa64cb15a0e84c953491c557b088605dac015 by Matthew.Arsenault
AMDGPU/GlobalISel: Uncomment some fixed tests
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_kernel.ll
Commit 54573528ae8b2391f8386c9c8611760936b457ee by Matthew.Arsenault
AMDGPU/GlobalISel: Add baseline checks for legacy clover kernel ABI

I'm not sure we actually need to support this now, since I think
clover always explicitly uses amdgcn-mesa-mesa3d now, not the
ill-defined amdgcn-- behavior.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_kernel.ll
Commit 431daedee4dcce0c096c400dbf8e64dfe7254fb6 by Matthew.Arsenault
AMDGPU/GlobalISel: Fix legacy clover kernel argument ABI

This had an extra attempt to align the pointer, which only did
anything with a base kernel argument offset which only clover used to
use.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/cvt_f32_ubyte.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_kernel.ll
Commit 1507fc15064a253aad1fdfff147babf003a42dc8 by gchatelet
[Alignment][NFC] Migrate TTI::isLegalToVectorize{Load,Store}Chain to Align

This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Differential Revision: https://reviews.llvm.org/D82653
The file was modifiedllvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
The file was modifiedllvm/lib/Analysis/TargetTransformInfo.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfoImpl.h
Commit 056a539e570a49e27f88f4555d42f00be0500749 by yitzhakm
[libTooling] Rename overloaded `range` range selector.

Renames the overloaded `RangeSelector` combinator `range` to the more
descriptive `enclose` and `encloseNodes`. The old overloads are left in place
and marked deprected and will be deleted at a future time.

Reviewed By: tdl-g

Differential Revision: https://reviews.llvm.org/D82592
The file was modifiedclang/lib/Tooling/Transformer/RangeSelector.cpp
The file was modifiedclang/unittests/Tooling/RangeSelectorTest.cpp
The file was modifiedclang/include/clang/Tooling/Transformer/RangeSelector.h
Commit c8295de4a66adcc610c315df69286f02c306a1c9 by antiagainst
[MLIR][SPIRVToLLVM] Conversion for bitrverse and bitcount ops

Implemented conversion for `spv.BitReverse` and `spv.BitCount`. Since ODS
generates builders in a different way for LLVM dialect intrinsics, I
added attributes to build method in `DirectConversionPattern` class. The
tests for these ops are in `bitwise-ops-to-llvm.mlir`.

Differential Revision: https://reviews.llvm.org/D82286
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/bitwise-ops-to-llvm.mlir
The file was modifiedmlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp
Commit 3a748cbf86cea3844fada04eeff4cc64b01f67e0 by melanie.blower
Modify FPFeatures to use delta not absolute settings
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/CodeGen/CGObjC.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/Analysis/BodyFarm.cpp
The file was modifiedclang/lib/Sema/SemaAttr.cpp
The file was modifiedclang/lib/Sema/SemaExprObjC.cpp
The file was modifiedclang/include/clang/AST/Stmt.h
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/test/CodeGenOpenCL/relaxed-fpmath.cl
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was addedclang/include/clang/Basic/FPOptions.def
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was addedclang/test/SemaOpenCL/fp-options.cl
The file was modifiedclang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/include/clang/Serialization/ASTWriter.h
The file was modifiedclang/include/clang/AST/Expr.h
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/test/PCH/pragma-floatcontrol.c
The file was modifiedclang/lib/Parse/ParsePragma.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/lib/Basic/LangOptions.cpp
The file was modifiedclang/lib/Frontend/Rewrite/RewriteObjC.cpp
The file was modifiedclang/include/clang/module.modulemap
The file was modifiedclang/lib/Sema/SemaPseudoObject.cpp
The file was modifiedclang/test/CodeGen/fp-floatcontrol-pragma.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
Commit fa1b488776185827274637f8fdd38b20b6b5c036 by gribozavr
Work around a bug in MSVC in the syntax tree test

Summary:
MSVC does not handle raw string literals with embedded double quotes
correctly. I switched the affected test case to use regular string
literals insetad.

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82636
The file was modifiedclang/unittests/Tooling/Syntax/TreeTest.cpp
Commit b55d723ed61052b77e720dcffecac43abe873186 by melanie.blower
Revert "Modify FPFeatures to use delta not absolute settings"

This reverts commit 3a748cbf86cea3844fada04eeff4cc64b01f67e0.
I'm reverting this commit because I forgot to format the commit message
propertly. Sorry for the thrash.
The file was modifiedclang/include/clang/AST/Expr.h
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/PCH/pragma-floatcontrol.c
The file was modifiedclang/include/clang/Serialization/ASTWriter.h
The file was modifiedclang/lib/Sema/SemaPseudoObject.cpp
The file was modifiedclang/include/clang/module.modulemap
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was removedclang/test/SemaOpenCL/fp-options.cl
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/lib/Basic/LangOptions.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/include/clang/AST/Stmt.h
The file was modifiedclang/test/CodeGen/fp-floatcontrol-pragma.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Parse/ParsePragma.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/lib/Sema/SemaExprObjC.cpp
The file was removedclang/include/clang/Basic/FPOptions.def
The file was modifiedclang/lib/Analysis/BodyFarm.cpp
The file was modifiedclang/test/CodeGenOpenCL/relaxed-fpmath.cl
The file was modifiedclang/lib/CodeGen/CGObjC.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/lib/Frontend/Rewrite/RewriteObjC.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
The file was modifiedclang/lib/Sema/SemaAttr.cpp
Commit e086a39c118fa6c1d8d23257ff0f112d000d87fe by vyng
 [llvm-exegesis] Let Counter returns up to 16 entries

    LBR contains (up to) 16 entries for last x branches and the X86LBRCounter (from D77422) should be able to return all those.
    Currently, it just returns the latest entry, which could lead to mis-leading measurements.
    This patch aslo changes the LatencyBenchmarkRunner to accommodate multi-value readings.

         https://reviews.llvm.org/D81050
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/BenchmarkRunner.h
The file was modifiedllvm/tools/llvm-exegesis/lib/PerfHelper.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/Target.h
The file was modifiedllvm/tools/llvm-exegesis/lib/LatencyBenchmarkRunner.h
The file was modifiedllvm/tools/llvm-exegesis/llvm-exegesis.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/BenchmarkResult.h
The file was modifiedllvm/tools/llvm-exegesis/lib/PerfHelper.h
The file was modifiedllvm/tools/llvm-exegesis/lib/LatencyBenchmarkRunner.cpp
The file was modifiedllvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
Commit 9518763d710bfbbf9315fa88972c55898be44a0e by melanie.blower
Revert "Revert "Modify FPFeatures to use delta not absolute settings""

This reverts commit b55d723ed61052b77e720dcffecac43abe873186.
Reapply Modify FPFeatures to use delta not absolute settings

To solve https://bugs.llvm.org/show_bug.cgi?id=46166 where the
floating point settings in PCH files aren't compatible, rewrite
FPFeatures to use a delta in the settings rather than absolute settings.
With this patch, these floating point options can be benign.

Reviewers: rjmccall

Differential Revision: https://reviews.llvm.org/D81869
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/Analysis/BodyFarm.cpp
The file was modifiedclang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/lib/Sema/SemaExprObjC.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was addedclang/test/SemaOpenCL/fp-options.cl
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/lib/Sema/SemaAttr.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/test/CodeGenOpenCL/relaxed-fpmath.cl
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/lib/Basic/LangOptions.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/test/CodeGen/fp-floatcontrol-pragma.cpp
The file was modifiedclang/include/clang/AST/Stmt.h
The file was addedclang/include/clang/Basic/FPOptions.def
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/CodeGen/CGObjC.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was modifiedclang/include/clang/Serialization/ASTWriter.h
The file was modifiedclang/lib/Sema/SemaPseudoObject.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/include/clang/AST/Expr.h
The file was modifiedclang/include/clang/module.modulemap
The file was modifiedclang/lib/Frontend/Rewrite/RewriteObjC.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/lib/Parse/ParsePragma.cpp
The file was modifiedclang/test/PCH/pragma-floatcontrol.c
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
Commit 0e76c0a9ad96517edbf989162b22d0a12d0ef41a by thomasraoux
[mlir][vulkan-runner] Make vulkan runner use GPU device memory

To be able to have more meaningful performance out of workloadsi going through
the vulkan-runner we need to use buffers from GPU device memory as access to
system memory is significantly slower for GPU with dedicated memory. This adds
code to do a copy through staging buffer as GPU memory cannot always be mapped
on the host.

Differential Revision: https://reviews.llvm.org/D82504
The file was modifiedmlir/tools/mlir-vulkan-runner/VulkanRuntime.h
The file was modifiedmlir/tools/mlir-vulkan-runner/VulkanRuntime.cpp
Commit e91c4b2af2c03ef599623243e625f347e166673d by kevin.neal
[NFC] Eliminate an unneeded -vv used in test development.
The file was modifiedclang/test/CodeGen/aarch64-v8.2a-fp16-intrinsics-constrained.c
Commit a15722c5ce4759c12960fe434ee6bd8aac70bb16 by francesco.petrogalli
[sve][acle] Add reinterpret intrinsics for brain float.

Reviewers: kmclaughlin, efriedma, ctetreau, sdesmalen, david-arm

Subscribers: tschuett, hiraditya, rkruppe, psnobl, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D82501
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/test/CodeGen/AArch64/sve-bitcast.ll
The file was modifiedclang/utils/TableGen/SveEmitter.cpp
Commit 951e43f357ec3ee0ffc570aea9cbf19871696c42 by s_stefan
[OpenMPOpt][NFC] Change ICV macros for initial value

This fixes build breaks when system headers are difining FALSE.
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
Commit defd43a5b393bb63a902042adf578081b03b171d by melanie.blower
Revert "Revert "Revert "Modify FPFeatures to use delta not absolute settings"""

This reverts commit 9518763d710bfbbf9315fa88972c55898be44a0e.
Memory sanitizer fails in CGFPOptionsRAII::CGFPOptionsRAII dtor
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was modifiedclang/test/CodeGen/fp-floatcontrol-pragma.cpp
The file was modifiedclang/lib/Analysis/BodyFarm.cpp
The file was modifiedclang/lib/Sema/SemaAttr.cpp
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaExprObjC.cpp
The file was modifiedclang/lib/Basic/LangOptions.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
The file was modifiedclang/lib/Parse/ParsePragma.cpp
The file was removedclang/test/SemaOpenCL/fp-options.cl
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/include/clang/module.modulemap
The file was modifiedclang/lib/CodeGen/CGObjC.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/lib/Sema/SemaPseudoObject.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.h
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was modifiedclang/test/PCH/pragma-floatcontrol.c
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was removedclang/include/clang/Basic/FPOptions.def
The file was modifiedclang/test/CodeGenOpenCL/relaxed-fpmath.cl
The file was modifiedclang/include/clang/AST/Stmt.h
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/Frontend/Rewrite/RewriteObjC.cpp
The file was modifiedclang/include/clang/AST/Expr.h
The file was modifiedclang/include/clang/Serialization/ASTWriter.h
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
Commit befd8f82fe2050a6406c45d330577f46969c7c7d by Louis Dionne
[libc++abi] Fix build failure in abort_message.cpp when vasprintf isn't provided
The file was modifiedlibcxxabi/src/abort_message.cpp
Commit 30deabf89f93f724315e803ebcb2df09b8d36f2a by yitzhakm
[libTooling] Improve error message from failure in selection Stencil

This patch improves the error message provided by the stencil that handles
source from a range selector.

Reviewed By: gribozavr2

Differential Revision: https://reviews.llvm.org/D82654
The file was modifiedclang/unittests/Tooling/StencilTest.cpp
The file was modifiedclang/lib/Tooling/Transformer/Stencil.cpp
Commit 5ca75130f5cd5dbadee705acccca826d059cce23 by kbarton
[PPC][NFC] Add Subtarget and replace all uses of PPCSubTarget with Subtarget.

Summary:
In preparation for GlobalISel, PPCSubTarget needs to be renamed to Subtarget as there places in GlobalISel that assume the presence of the variable Subtarget.
This patch introduces the variable Subtarget, and replaces all existing uses of PPCSubTarget with Subtarget. A subsequent patch will remove the definiton of
PPCSubTarget, once any downstream users have the opportunity to rename any uses they have.

Reviewers: hfinkel, nemanjai, jhibbits, #powerpc, echristo, lkail

Reviewed By: #powerpc, echristo, lkail

Subscribers: echristo, lkail, wuzish, nemanjai, hiraditya, jfb, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81623
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrVSX.td
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrAltivec.td
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrPrefix.td
The file was modifiedllvm/lib/Target/PowerPC/PPCFastISel.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.td
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrHTM.td
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrQPX.td
Commit a95796a380ed011a73a103e7f7ffa372f23438dd by aeubanks
[NewPM][LoopUnroll] Rename unroll* to loop-unroll*

The legacy pass is called "loop-unroll", but in the new PM it's called "unroll".
Also applied to unroll-and-jam and unroll-full.

Fixes various check-llvm tests when NPM is turned on.

Reviewed By: Whitney, dmgreen

Differential Revision: https://reviews.llvm.org/D82590
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/test/Transforms/LoopUnroll/peel-loop-pgo-deopt-idom-2.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/full-unroll-heuristics.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/unloop.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/peel-loop.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/runtime-loop5.ll
The file was modifiedllvm/test/Transforms/LoopUnrollAndJam/dependencies.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/revisit.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/full-unroll-crashers.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/full-unroll-heuristics-phi-prop.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/unroll-loop-invalidation.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/peel-loop-pgo-deopt-idom.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/partial-unroll-const-bounds.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/peel-loop-inner.ll
The file was modifiedllvm/test/Transforms/LoopUnrollAndJam/unroll-and-jam.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/full-unroll-heuristics-cmp.ll
The file was modifiedllvm/test/Transforms/LoopUnrollAndJam/dependencies_multidims.ll
The file was modifiedllvm/test/Transforms/LoopUnrollAndJam/pragma-explicit.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/runtime-loop1.ll
The file was modifiedllvm/test/Other/loop-pass-printer.ll
The file was modifiedllvm/test/Transforms/Inline/last-call-no-bonus.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/full-unroll-heuristics-2.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/full-unroll-heuristics-geps.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/peel-loop-pgo-deopt.ll
The file was modifiedllvm/test/Transforms/LoopUnrollAndJam/disable.ll
The file was modifiedllvm/test/Transforms/LoopUnrollAndJam/innerloop.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/update-loop-info-in-subloops.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/disable-full-unroll-by-opt.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/wrong_assert_in_peeling.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/nonlatchcondbr.ll
The file was modifiedllvm/test/Transforms/Inline/last-call-bonus.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/peel-loop-pgo.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/full-unroll-keep-first-exit.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/unroll-opt-attribute.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/runtime-loop.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/full-unroll-bad-cost.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/full-unroll-heuristics-dce.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/runtime-loop2.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/basic.ll
The file was modifiedllvm/test/Transforms/LoopUnroll/runtime-loop3.ll
Commit 8cce7af090bd011f6371dec34dfcab494cc74c46 by ndesaulniers
[SourceManager] don't check invalid param of getLocalSLocEntry()

Forked from D80681.

getLocalSLocEntry() has an unused parameter used to satisfy an interface
of libclang (see getInclusions() in
clang/tools/libclang/CIndexInclusionStack.cpp).  It's pointless for
callers to construct/pass/check this inout parameter that can never
signify that a FileID is invalid.

Reviewed By: kadircet

Differential Revision: https://reviews.llvm.org/D82498
The file was modifiedclang/include/clang/Basic/SourceManager.h
The file was modifiedclang/lib/Basic/SourceManager.cpp
Commit 4d5c4489435dc1cb3d4989614e96b157c74afdea by thakis
Revert "[clang driver] Move default module cache from system temporary directory"

This reverts commit bb26838ceffb5feaa18186f55f7525a08084899e.
Breaks Support.CacheDirectoryNoEnv, Support.CacheDirectoryWithEnv
in SupportTests (part of check-llvm) on macOS.
The file was modifiedllvm/lib/Support/Unix/Path.inc
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/unittests/Driver/ModuleCacheTest.cpp
The file was modifiedclang/test/Driver/modules-cache-path.m
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/include/clang/Driver/Driver.h
Commit 2e17bba32411ab86c7b215e5fa152b5ecae86ed8 by listmail
Migrate last batch of tests to gc-live bundle format

For context of anyone following along, we've not completed the migration of statepoint to the operand bundle form.  The only remaining piece is to actually version the statepoint intrinsic to remove the old inline operand sets.  That will follow when I have some time; delay is useful here to allow downstream migrations.
The file was modifiedllvm/test/CodeGen/X86/statepoint-regs.ll
The file was modifiedllvm/test/CodeGen/X86/pr33010.ll
The file was modifiedllvm/test/CodeGen/X86/statepoint-duplicates-export.ll
The file was modifiedllvm/test/CodeGen/X86/statepoint-stackmap-format.ll
The file was modifiedllvm/test/CodeGen/X86/statepoint-stack-usage.ll
The file was modifiedllvm/test/CodeGen/X86/statepoint-uniqueing.ll
The file was modifiedllvm/test/CodeGen/X86/machine-sink-and-implicit-null-checks.ll
The file was modifiedllvm/test/CodeGen/X86/stackmap-large-location-size.ll
The file was modifiedllvm/test/CodeGen/X86/fast-isel-gc-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/statepoint-stackmap-size.ll
Commit 9c98ed9cd41fc6662a5e90037f25cb3a80658b74 by richard.barton
[flang] Port test_any.sh tests to FileCheck: Hand port tests which use regexes

The regex syntax used by test_any.sh's FileCheck is sometimes incompatible with
real FileCheck.

Hand port these tests to use FileCheck and it's regex format.

Also remove FIXME from label01 that no longer applies.
Also add second run-line that enables all tests.
Add some new FIXMEs for issues in original tests

Differential Revision: https://reviews.llvm.org/D82164
The file was modifiedflang/test/Semantics/doconcurrent04.f90
The file was modifiedflang/test/Semantics/label01.F90
The file was modifiedflang/test/Semantics/label11.f90
Commit b4bceb94eeb3def8b164a0039b29379e83c00f0d by xur
[PGO] Add a functionality to always instrument the func entry BB

Add an option to always instrument function entry BB (default off)
Add an option to do atomically updates on the first counter in each
instrumented function.

Differential Revision: https://reviews.llvm.org/D82123
The file was modifiedllvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
The file was addedllvm/test/Transforms/PGOProfile/instr_entry_bb.ll
The file was modifiedllvm/lib/Transforms/Instrumentation/CFGMST.h
Commit 66c26d93b7be0e1cbd5e1c7615a0f591c975fd27 by richard.barton
[flang] Port test_any.sh tests to FileCheck: Hand port getdefinition* tests

These tests are sensitive to line numbers in the input and check output.
They also successively write to a temporary file then check that.

Fix the line number issues and replace the temporary file use with successive
calls to FileCheck with different check-prefixes.

Differential Revision: https://reviews.llvm.org/D82165
The file was modifiedflang/test/Semantics/getdefinition05.f90
The file was modifiedflang/test/Semantics/getdefinition02.f
The file was modifiedflang/test/Semantics/getdefinition03-a.f90
The file was modifiedflang/test/Semantics/getdefinition04.f90
The file was modifiedflang/test/Semantics/getdefinition01.f90
Commit bf57fc1c8ea3d8eaf2e9974691012767ac71a73e by richard.barton
[flang] Port test_any.sh tests to FileCheck: Hand port getsymbols tests

test_any.sh's FileCheck accepts the CHECK line matches in any order while
FileCheck checks in strict order. Re-order the CHECK lines to source code
order - they come from an ordered datastructure.

Some CHECK lines are sensitive to line number which are fixed up manually.

getsymbols02 had multiple test inputs which had their own EXEC lines.
Consolidate these together in one file.

Differential Revision: https://reviews.llvm.org/D82166
The file was removedflang/test/Semantics/Inputs/getsymbols02-c.f90
The file was modifiedflang/test/Semantics/getsymbols02.f90
The file was modifiedflang/test/Semantics/getsymbols04.f90
The file was modifiedflang/test/Semantics/Inputs/getsymbols02-a.f90
The file was modifiedflang/test/Semantics/Inputs/getsymbols02-b.f90
The file was modifiedflang/test/Semantics/getsymbols01.f90
The file was modifiedflang/test/Semantics/getsymbols05.f90
The file was modifiedflang/test/Semantics/getsymbols03-a.f90
Commit ae74252341a0e985a3b637c9b6c30aed9b6f033b by richard.barton
[flang] Port test_any.sh tests to FileCheck: Hand port canondo{08-18} tests

These tests checked for stdout and stderr in the same pipe, which does not
come out in a guaranteed order. test_any.sh's FileCheck accepts CHECK lines in
any order while FileCheck checks must match in order.

Hand port these to pipe stdout to a temp file which is checked with a separate
FileCheck RUN line to test it.

Differential Revision: https://reviews.llvm.org/D82167
The file was modifiedflang/test/Semantics/canondo15.f90
The file was modifiedflang/test/Semantics/canondo10.f90
The file was modifiedflang/test/Semantics/canondo16.f90
The file was modifiedflang/test/Semantics/canondo17.f90
The file was modifiedflang/test/Semantics/canondo08.f90
The file was modifiedflang/test/Semantics/canondo12.f90
The file was modifiedflang/test/Semantics/canondo11.f90
The file was modifiedflang/test/Semantics/canondo18.f90
The file was modifiedflang/test/Semantics/canondo09.f90
The file was modifiedflang/test/Semantics/canondo13.f90
The file was modifiedflang/test/Semantics/canondo14.f90