Changes

Summary

  1. Revert "[AST] Traverse the class type loc inside the member type loc." (details)
  2. Add lookup functions for efficient lookups of addresses when using (details)
  3. gn build: Merge 6470497817e (details)
  4. gn build: Merge aeda128a96c (details)
  5. Add strict fp support for instructions fadd/fsub/fmul/fdiv (details)
  6. [X86] Make X86TargetLowering::BuildFILD return a std::pair of SDValues (details)
  7. gn build: Bump Android API level to 29, and NDK to r21. (details)
  8. gn build: Add support for building scudo and its unit tests. (details)
  9. Tighten up CHECK lines added in a9f10ebffa to work on ARM. (details)
  10. Fix crash if a user-defined conversion is applied in the middle of a (details)
  11. [ConstantFold][SVE] Skip scalable vectors in (details)
  12. llvm-reduce: Add a space to an option's --help (details)
  13. DebugInfo: Pull out a common expression. (details)
  14. [JITLink] Remove the Section::symbols_empty() method. (details)
  15. [JITLink] Use Blocks rather than Symbols for SectionRange. (details)
Commit 6470497817eafe3fe2d15e11ade78fd99753d7ca by saugustine
Revert "[AST] Traverse the class type loc inside the member type loc."
This reverts commit 7f93cb62280a73e3e899d49c45be8bfbac634b7d.
The assertion at RecursiveASTVisitor.h:1169 fails when passed a
TypeLocNode. Not sure if the correct fix is to use getTypeLocClass or
something else.
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was removedclang/unittests/Tooling/RecursiveASTVisitorTests/MemberPointerTypeLoc.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp
The file was modifiedclang/unittests/Tooling/CMakeLists.txt
Commit aeda128a96c4ac9eecef7563f4cf07dfcd2af0db by gclayton
Add lookup functions for efficient lookups of addresses when using
GsymReader classes.
Summary: Lookup functions are designed to not fully decode a
FunctionInfo, LineTable or InlineInfo, they decode only what is needed
into a LookupResult object. This allows lookups to avoid costly memory
allocations and avoid parsing large amounts of information one a
suitable match is found.
LookupResult objects contain the address that was looked up, the
concrete function address range, the name of the concrete function, and
a list of source locations. One for each inline function, and one for
the concrete function. This allows one address to turn into multiple
frames and improves the signal you get when symbolicating addresses in
GSYM files.
Reviewers: labath, aprantl
Subscribers: mgorny, hiraditya, llvm-commits, lldb-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70993
The file was modifiedllvm/lib/DebugInfo/GSYM/CMakeLists.txt
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/GsymReader.h
The file was modifiedllvm/lib/DebugInfo/GSYM/LineTable.cpp
The file was modifiedllvm/lib/DebugInfo/GSYM/Range.cpp
The file was addedllvm/lib/DebugInfo/GSYM/LookupResult.cpp
The file was modifiedllvm/unittests/DebugInfo/GSYM/GSYMTest.cpp
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/Range.h
The file was modifiedllvm/lib/DebugInfo/GSYM/FunctionInfo.cpp
The file was modifiedllvm/lib/DebugInfo/GSYM/GsymReader.cpp
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/FunctionInfo.h
The file was addedllvm/include/llvm/DebugInfo/GSYM/LookupResult.h
The file was modifiedllvm/lib/DebugInfo/GSYM/InlineInfo.cpp
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/InlineInfo.h
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/LineTable.h
Commit d4416e3dac37580e5e6afd9d9ef7203e696dc9f5 by llvmgnsyncbot
gn build: Merge 6470497817e
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Tooling/BUILD.gn
Commit 1c918ff2c1ae9033a2a35c449f111d342291841b by llvmgnsyncbot
gn build: Merge aeda128a96c
The file was modifiedllvm/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn
Commit 3041434450e6c9cbc3476289f7c862f346126296 by chen3.liu
Add strict fp support for instructions fadd/fsub/fmul/fdiv
Differential Revision: https://reviews.llvm.org/D68757
The file was modifiedllvm/test/CodeGen/X86/vec-strict-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll
The file was modifiedllvm/lib/Target/X86/X86InstrSSE.td
The file was modifiedllvm/test/CodeGen/X86/vec-strict-512.ll
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vec-strict-128.ll
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
Commit 8267be29955e3df2baada1443a92d82ca9d979cc by craig.topper
[X86] Make X86TargetLowering::BuildFILD return a std::pair of SDValues
so we explicitly return the chain instead of calling getValue on the
single SDValue.
We shouldn't assume that the returned result can be used to get the
other result.
This is prep-work for strict FP where we will also need to pass the
chain result along in more cases.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
Commit b3516a0d4af39f39c3c1f5aac389c2879b0e4721 by peter
gn build: Bump Android API level to 29, and NDK to r21.
These are both necessary in order to use ELF TLS, which is needed by the
scudo unit tests.
Differential Revision: https://reviews.llvm.org/D71079
The file was modifiedllvm/utils/gn/secondary/llvm/triples.gni
The file was modifiedllvm/utils/gn/build/toolchain/compiler.gni
Commit 4066591841408223dbb811a3e36df41347efcf70 by peter
gn build: Add support for building scudo and its unit tests.
Differential Revision: https://reviews.llvm.org/D71081
The file was addedllvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
The file was addedllvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/tests/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/BUILD.gn
The file was addedllvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/BUILD.gn
Commit 757bc55f8314c8c789f81b7f0b3397a8c6148b68 by douglas.yung
Tighten up CHECK lines added in a9f10ebffa to work on ARM.
On ARM platforms, the compiler generates an additional line containing
`-CXXRecordDecl which is not the intended line, but preceeds the
intended match causing the test to fail.
The file was modifiedclang/test/Import/struct-and-var/test.cpp
Commit 759909506c2b557b9bc5cd3883970dea48e0b86b by richard
Fix crash if a user-defined conversion is applied in the middle of a
rewrite of an operator in terms of operator<=>.
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/test/SemaCXX/compare-cxx2a.cpp
The file was modifiedclang/include/clang/AST/Expr.h
The file was modifiedclang/lib/AST/Expr.cpp
Commit 381d3c5c45c55c00f8d561eaff03b460953ca5c0 by huihuiz
[ConstantFold][SVE] Skip scalable vectors in
ConstantFoldInsertElementInstruction.
Summary: Should not constant fold insertelement instruction for scalable
vector type.
Reviewers: huntergr, sdesmalen, spatel, levedev.ri, apazos, efriedma,
willlovett
Reviewed By: efriedma, spatel
Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70985
The file was addedllvm/test/Analysis/ConstantFolding/insertelement.ll
The file was modifiedllvm/lib/IR/ConstantFold.cpp
Commit 9b9327fe3064d5dd4fe054e94be79e14da562685 by George Burgess IV
llvm-reduce: Add a space to an option's --help
Otherwise, we get "filewith".
The file was modifiedllvm/tools/llvm-reduce/llvm-reduce.cpp
Commit 560ab1f8d33c03eb5c855930d0fdc0ef95c52744 by dblaikie
DebugInfo: Pull out a common expression.
This is for the case where -gmlt -gsplit-dwarf -fsplit-dwarf-inlining
are used together in some but not all units during LTO (or, in the
reduced case, even without LTO) - ensuring that no split dwarf is used
(because split-dwarf-inlining puts the same data in the .o file, so
there's no need to duplicate it into the .dwo file)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit 8c4f048a00065d5cc2e138fba17abf74f2ae873d by Lang Hames
[JITLink] Remove the Section::symbols_empty() method.
llvm::empty(Sec.symbols()) can be used instead.
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
The file was modifiedllvm/tools/llvm-jitlink/llvm-jitlink-macho.cpp
Commit 72db78eba5966fae6bc5bb361ebee7b6d3e1be3a by Lang Hames
[JITLink] Use Blocks rather than Symbols for SectionRange.
This ensures that anonymous blocks are included in the section range.
The file was modifiedllvm/include/llvm/ExecutionEngine/JITLink/JITLink.h