SuccessChanges

Summary

  1. [Clang] Force rtlib=platform in test to avoid fails with (details)
  2. [Metadata] Add TBAA struct metadata to `AAMDNode` (details)
  3. [APFloat] Add recoverable string parsing errors to APFloat (details)
  4. Add ExternalAAWrapperPass to createLegacyPMAAResults. (details)
  5. [mlir] Update mlir/CMakeLists.txt to install *.def files (details)
  6. [APFloat] Fix compilation warnings (details)
  7. Add interface emitPrefix for MCCodeEmitter (details)
  8. [ARM][MVE] More MVETailPredication debug messages. NFC. (details)
Commit ce67db4185374016a9f5745869f9dbedfc12e6d2 by Kristina Brooks
[Clang] Force rtlib=platform in test to avoid fails with
CLANG_DEFAULT_RTLIB
Driver test `cross-linux.c` fails when CLANG_DEFAULT_RTLIB is
"compiler-rt" as the it expects a GCC-style `"crtbegin.o"` after
`"crti.o"` but instead receives something akin to this in the frontend
invocation:
```
"crt1.o" "crti.o"
"/o/b/llvm/bin/../lib/clang/10.0.0/lib/linux/clang_rt.crtbegin-x86_64.o"
```
This patch adds an override to `cross-linux.c` tests so the expected
result is produced regardless of the compile-time default rtlib, as
having tests fail due to that is fairly confusing. After applying the
patch, the test passes regardless of the CLANG_DEFAULT_RTLIB setting.
Differential Revision: https://reviews.llvm.org/D72236
The file was modifiedclang/test/Driver/cross-linux.c
Commit a7929533300535547f8484f7e38765234a7e7c93 by anton.a.afanasyev
[Metadata] Add TBAA struct metadata to `AAMDNode`
Summary: Make `AAMDNodes`' `getAAMetadata()` and `setAAMetadata()` to
take `!tbaa.struct` into account as well as `!tbaa`. This impacts
llvm.org/pr42022. This is a temprorary fix needed to keep `!tbaa.struct`
tag by SROA pass. New field `TBAAStruct` should be deleted when `!tbaa`
tag replaces `!tbaa.struct`. Merging two `!tbaa.struct`'s to one is
conservatively considered to be `nullptr`
(giving `MayAlias`) -- this could be enhanced, but relying on the said
future replacement.
Reviewers: RKSimon, spatel, vporpo
Subscribers: hiraditya, kosarev, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70924
The file was modifiedllvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
The file was modifiedllvm/include/llvm/IR/Metadata.h
The file was modifiedllvm/lib/IR/Metadata.cpp
The file was modifiedllvm/test/Transforms/SROA/tbaa-struct.ll
Commit c5fb73c5d1b3f1adb77d99fc85c594b48bff08f9 by ehudkatz
[APFloat] Add recoverable string parsing errors to APFloat
Implementing the APFloat part in PR4745.
Differential Revision: https://reviews.llvm.org/D69770
The file was modifiedllvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
The file was modifiedclang/lib/Lex/LiteralSupport.cpp
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedllvm/lib/Support/APFloat.cpp
The file was modifiedllvm/lib/Support/StringRef.cpp
The file was modifiedllvm/include/llvm/ADT/APFloat.h
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/unittests/ADT/APFloatTest.cpp
Commit 103a58c8f2b0a62a42f6eedcdef38222ff22a538 by neil.henning
Add ExternalAAWrapperPass to createLegacyPMAAResults.
Our out-of-tree custom aliasing solution for the HPC# Burst compiler
here at Unity makes use of the `ExternalAAwrapperPass` infrastructure to
insert our custom aliasing resolution into the core of LLVM. This is
great for all cases except for function inlining, where because
`createLegacyPMAAResults` does not make use of `ExternalAAWrapperPass`,
when we have a definite no-alias result within a function it won't be
propagated to the calling function during inlining.
This commit just rectifies this oversight by adding the missing
dependency.
Differential Revision: https://reviews.llvm.org/D71348
The file was modifiedllvm/lib/Analysis/AliasAnalysis.cpp
Commit aab72f89b19ae38ea7ac3b7b51aae68fc10aef4f by zinenko
[mlir] Update mlir/CMakeLists.txt to install *.def files
This is needed to consume mlir after it has been installed of the source
tree. Without this, consuming mlir results a build error.
Differential Revision: https://reviews.llvm.org/D72232
The file was modifiedmlir/CMakeLists.txt
Commit f3f7dc3d2990151a78b246a7a1485d0c13a9fb36 by ehudkatz
[APFloat] Fix compilation warnings
The file was modifiedllvm/unittests/ADT/APFloatTest.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/MagicNumbersCheck.cpp
The file was modifiedllvm/lib/Support/APFloat.cpp
The file was modifiedllvm/lib/Support/StringRef.cpp
The file was modifiedclang/lib/Lex/LiteralSupport.cpp
Commit 5173bfcbc4873fa12d14de0a0a4e6ac9ce960b5e by shengchen.kan
Add interface emitPrefix for MCCodeEmitter
Differential Revision: https://reviews.llvm.org/D72047
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
The file was modifiedllvm/include/llvm/MC/MCCodeEmitter.h
Commit 0efc9e5a8cc12b9cb30adf2a3dbb14ffbc60e338 by sjoerd.meijer
[ARM][MVE] More MVETailPredication debug messages. NFC.
I've added a few more debug messages to MVETailPredication because I
wanted to trace better which instructions are added/removed. And while I
was at it, I factored out one function which I thought was clearer, and
have added some comments to describe better the flow between
MVETailPredication and ARMLowOverheadLoops.
Differential Revision: https://reviews.llvm.org/D71549
The file was modifiedllvm/lib/Target/ARM/MVETailPredication.cpp
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp