SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [mlir][StandardToSPIRV] Add support for lowering index_cast to SPIR-V. (details)
  2. [hwasan] Fix allocator alignment. (details)
  3. Fix auto -> auto * clang tidy. (details)
  4. [YAMLTraits] Add trait for char (details)
  5. llvm-lit.in: Use a raw string for LLVM_SOURCE_DIR (details)
  6. [gn build] Make config_map computation in llvm-lit more table-driven. (details)
  7. [GlobalISel] Remove debug locations when emitting G_FCONSTANT. (details)
  8. [gn build] Make paths in generated llvm-lit relative. (details)
  9. Revert "[FileCheck] Support comment directives" (details)
  10. Revert "[FileCheck] Make invalid prefix diagnostics more precise" (details)
  11. [AMDGPU] Allow spilling FP to memory (details)
  12. [MLIR] Fix several misc issues in in Toy tutorial (details)
  13. [AArch64][SVE] Add patterns for VSELECT of immediates. (details)
Commit 756d6959d7ac95969cc0127765bdcbee3804547c by hanchung
[mlir][StandardToSPIRV] Add support for lowering index_cast to SPIR-V.

Differential Revision: https://reviews.llvm.org/D79644
The file was modifiedmlir/lib/Conversion/StandardToSPIRV/ConvertStandardToSPIRV.cpp
The file was modifiedmlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
Commit 67b950be6d48eb4f8d9d4c450f590b64e769df5d by eugenis
[hwasan] Fix allocator alignment.

Summary:
Fix hwasan allocator not respecting the requested alignment when it is
higher than a page, but still within primary (i.e. [2048, 65536]).

Reviewers: pcc, hctim, cryptoad

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D79656
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common.h
The file was addedcompiler-rt/test/hwasan/TestCases/malloc-align.c
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp
Commit 020022e12e03fb7e6b0405bc18a87921a11cde7e by echristo
Fix auto -> auto * clang tidy.
The file was modifiedlld/MachO/SyntheticSections.cpp
Commit fab08bf4899e40d02d8bf394a63499ac679ac61c by Jonas Devlieghere
[YAMLTraits] Add trait for char

Add a YAML trait for char.

Differential revision: https://reviews.llvm.org/D79745
The file was modifiedllvm/unittests/Support/YAMLIOTest.cpp
The file was modifiedllvm/include/llvm/Support/YAMLTraits.h
The file was modifiedllvm/lib/Support/YAMLTraits.cpp
Commit 89d3031b3ce13cc453d04cf02036a5e7d6b72524 by thakis
llvm-lit.in: Use a raw string for LLVM_SOURCE_DIR

In case the path from cmake build dir contains a backslash
escape on Windows (which uses \ as path separator).

While here, consistently use one form of quotes in this file.

No intended behavior change.
The file was modifiedllvm/utils/llvm-lit/llvm-lit.in
Commit 11e1cf51fb77c3a611b95c3f829ccdfb270b273d by thakis
[gn build] Make config_map computation in llvm-lit more table-driven.

No behavior change.
The file was modifiedllvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn
Commit 288c9e81781e5468cf6db5c4f6e579f39cfe72ba by ditaliano
[GlobalISel] Remove debug locations when emitting G_FCONSTANT.

<rdar://problem/62991543>
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/fconstant-dbg-loc.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
Commit 18324bb3d9175d000c6b83e3383a8feecfafdfed by thakis
[gn build] Make paths in generated llvm-lit relative.

This ports d4638cba and e613f0ee to the GN build.
Since paths in the generated lit.site.cfg.py files still contain
absolute paths in the GN build, this isn't very useful yet.

No intended behavior change.
The file was modifiedllvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn
Commit d0e7fd6b624b1943f3780a69883690017d2efad2 by jdenny.ornl
Revert "[FileCheck] Support comment directives"

This reverts commit 9a9a5f9893c8db05cebc8818eb8485bff61f7c74 to try to
fix a bot:

http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/23489
The file was modifiedclang/test/CodeGen/default-address-space.c
The file was modifiedllvm/lib/Support/FileCheck.cpp
The file was removedllvm/test/FileCheck/comment/unused-comment-prefixes.txt
The file was removedllvm/test/FileCheck/comment/bad-comment-prefix.txt
The file was removedllvm/test/FileCheck/comment/suffixes.txt
The file was modifiedllvm/docs/CommandGuide/FileCheck.rst
The file was removedllvm/test/FileCheck/comment/suppresses-checks.txt
The file was removedllvm/test/FileCheck/comment/unused-check-prefixes.txt
The file was removedllvm/test/FileCheck/comment/after-words.txt
The file was modifiedllvm/test/FileCheck/validate-check-prefix.txt
The file was modifiedclang/test/Driver/hip-device-libs.hip
The file was removedllvm/test/FileCheck/comment/within-checks.txt
The file was modifiedclang/test/CodeGenOpenCL/addr-space-struct-arg.cl
The file was removedllvm/test/FileCheck/comment/blank-comments.txt
The file was modifiedllvm/test/Assembler/drop-debug-info-nonzero-alloca.ll
The file was modifiedllvm/include/llvm/Support/FileCheck.h
The file was modifiedllvm/test/FileCheck/first-character-match.txt
The file was modifiedllvm/utils/FileCheck/FileCheck.cpp
Commit e1ed4d9eb506a38772bfa659dcc09052eaff2e5d by jdenny.ornl
Revert "[FileCheck] Make invalid prefix diagnostics more precise"

This reverts commit a78e13745d4ee4a42e41ebbe698159f651515fc5 to try to
fix a bot:

http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/23489
The file was modifiedllvm/test/FileCheck/validate-check-prefix.txt
The file was modifiedllvm/utils/FileCheck/FileCheck.cpp
The file was modifiedllvm/lib/Support/FileCheck.cpp
Commit 09253b608a52645e618810e2d5e5a3f3471980b2 by Austin.Kerbow
[AMDGPU] Allow spilling FP to memory

If there are no available lanes in a reserved VGPR, no free SGPR, and no unused CSR
VGPR when trying to save the FP it needs to be spilled to memory as a last
resort. This can be done in the prolog/epilog if we manually add the spill
and manage exec.

Differential Revision: https://reviews.llvm.org/D79610
The file was modifiedllvm/lib/Target/AMDGPU/SIFrameLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
Commit 5633813bf376ef12056cc8ce34c03c445d0dbce5 by jpienaar
[MLIR] Fix several misc issues in in Toy tutorial

Summary:
- Fix comments in several places
- Eliminate extra ' in AST dump and adjust tests accordingly

Differential Revision: https://reviews.llvm.org/D78399
The file was modifiedmlir/examples/toy/Ch6/mlir/Dialect.cpp
The file was modifiedmlir/test/Examples/Toy/Ch1/ast.toy
The file was modifiedmlir/include/mlir/ExecutionEngine/OptUtils.h
The file was modifiedmlir/test/Examples/Toy/Ch2/ast.toy
The file was modifiedmlir/examples/toy/Ch2/mlir/Dialect.cpp
The file was modifiedmlir/test/Examples/Toy/Ch7/struct-ast.toy
The file was modifiedmlir/examples/toy/Ch5/include/toy/Ops.td
The file was modifiedmlir/examples/toy/Ch3/mlir/Dialect.cpp
The file was modifiedmlir/examples/toy/Ch6/parser/AST.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/Dialect.cpp
The file was modifiedmlir/examples/toy/Ch6/include/toy/Ops.td
The file was modifiedmlir/examples/toy/Ch3/include/toy/Ops.td
The file was modifiedmlir/test/Examples/Toy/Ch4/ast.toy
The file was modifiedmlir/test/Examples/Toy/Ch6/ast.toy
The file was modifiedmlir/examples/toy/Ch4/include/toy/Ops.td
The file was modifiedmlir/docs/Tutorials/Toy/Ch-5.md
The file was modifiedmlir/examples/toy/Ch1/parser/AST.cpp
The file was modifiedmlir/docs/Tutorials/Toy/Ch-1.md
The file was modifiedmlir/docs/Tutorials/Toy/Ch-2.md
The file was modifiedmlir/examples/toy/Ch4/mlir/Dialect.cpp
The file was modifiedmlir/examples/toy/Ch2/include/toy/Ops.td
The file was modifiedmlir/examples/toy/Ch5/mlir/Dialect.cpp
The file was modifiedmlir/examples/toy/Ch3/parser/AST.cpp
The file was modifiedmlir/test/Examples/Toy/Ch3/ast.toy
The file was modifiedmlir/examples/toy/Ch4/parser/AST.cpp
The file was modifiedmlir/examples/toy/Ch7/include/toy/Ops.td
The file was modifiedmlir/examples/toy/Ch7/parser/AST.cpp
The file was modifiedmlir/test/Examples/Toy/Ch5/ast.toy
The file was modifiedmlir/docs/Tutorials/Toy/Ch-3.md
The file was modifiedmlir/examples/toy/Ch5/parser/AST.cpp
The file was modifiedmlir/examples/toy/Ch2/parser/AST.cpp
The file was modifiedmlir/test/Examples/Toy/Ch7/ast.toy
Commit a8874c76e8ae9ca67f6806f4c27ac8ba94232a21 by efriedma
[AArch64][SVE] Add patterns for VSELECT of immediates.

This covers forms involving "CPY (immediate, zeroing)".

This doesn't handle the case where the operands are reversed, and the
condition is freely invertible.  Not sure how to handle that.  Maybe a
DAGCombine.

Differential Revision: https://reviews.llvm.org/D79598
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was addedllvm/test/CodeGen/AArch64/sve-vselect-imm.ll