SuccessChanges

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

Summary

  1. Fix readability-identifier-naming missing member variables (details)
  2. Hopefully last fix for bot failures (details)
  3. [llvm][MIRVRegNamerUtils] Adding hashing on FrameIndex MachineOperands. (details)
  4. [X86][Disassembler] Fix a bug when disassembling an empty string (details)
  5. Add a couple of missed wildcards in debug-pass-manager output checking (details)
  6. Revert "[ThinLTO] Add additional ThinLTO pipeline testing with new PM" (details)
  7. [gn build] (manually) port b4a99a061f51 (details)
  8. [clangd] Render header of hover card as a heading (details)
  9. [clangd] Include expression in DecltypeTypeLoc sourcerange while (details)
  10. [lldb-server] Remove dead CMake code (details)
  11. [Clang] Always set -z now linker option on Fuchsia (details)
  12. Rework be15dfa88fb1 such that it works with GlobalISel which doesn't use (details)
  13. [LTO] Constify lto::Config reference passed to backends (NFC) (details)
  14. [Dsymutil][Debuginfo][NFC] #3 Refactor dsymutil to separate DWARF (details)
  15. [InstCombine] add tests for select --> copysign; NFC (details)
  16. Fix a test case by adding -fno-delayed-template-parsing. (details)
  17. [NFC][clang][IFS] Adding braces to if-statement as prep for D71301. (details)
  18. [clang][IFS] Prevent Clang-IFS from Leaking symbols from inside a block. (details)
  19. [lldb] Revert ddf044290ede for TestProcessAPI.py (details)
  20. [LegalizeIntegerTypes][X86] Add support for expanding input of (details)
  21. [mlir] Change the syntax of AffineMapAttr and IntegerSetAttr to avoid (details)
  22. Implement VectorType conditional operator GNU extension. (details)
  23. [InstCombine] add FMF to tests for more coverage; NFC (details)
  24. [ItaniumCXXABI] Make tls wrappers properly comdat (details)
  25. [ThinLTO/WPD] Fix index-based WPD for alias vtables (details)
  26. PR44514: Fix recovery from noexcept with non-convertible expressions (details)
  27. [mlir] Remove unnecessary assert for single region. (details)
  28. Revert "[DWARF5][DebugInfo]: Added support for DebugInfo generation for (details)
  29. [clang][IFS][test] Fixing mangled name of a test for Darwin. (details)
  30. [PGO][CHR] Guard against 0-to-0 branch weight and avoid division by zero (details)
  31. [lldb-server] Prefer target_include_directories (details)
  32. [mlir] Update the use-list algorithms in SymbolTable to support nested (details)
  33. [mlir] Update the CallGraph for nested symbol references, and simplify (details)
  34. [DebugInfo] Add another level to DebugInfoKind called Constructor (details)
  35. [mlir] Add support for attaching a visibility to symbols. (details)
  36. [mlir] NFC: Remove unused variable. (details)
  37. Re-enable testing of .s tests under test/CodeGen/X86. (details)
  38. [GlobalISel] Change representation of shuffle masks in MachineOperand. (details)
  39. [llvm-exegesis] Initialize const bitvector member (details)
  40. [LanguageRuntime] Retire an unused member function. NFCI. (details)
  41. try to fix InterfaceStubs/lambda.cpp on Windows after bd8c8827d96f0 (details)
  42. [lldb/Utility] Add std::move to make placate clang 3.8 (details)
  43. [mlir] [VectorOps] fixed typo in verifier of slice op (details)
  44. [clang] [test] Fix riscv-toolchain-extra to be less picky about paths (details)
  45. [X86] Add test to show that nofpexcept flag is not preserved by stack (details)
  46. [X86] Copy the nofpexcept flag when folding a load into an instruction (details)
Commit fb79ef524171c96a9f3df025ac7a8a3e00fdc0b4 by aaron
Fix readability-identifier-naming missing member variables
Fixes PR41122 (missing fixes for member variables in a destructor) and
PR29005 (does not rename class members in all locations).
The file was modifiedclang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming-member-decl-usage.cpp
Commit 7aed43b60739653b13b8503f9df4c958c44feed8 by tejohnson
Hopefully last fix for bot failures
Hopefully final bot fix for last few failures from
2af97be8027a0823b88d4b6a07fc5eedb440bc1f.
Looks like sometimes the "llvm::" preceeding objects get printed in the
debug pass manager output and sometimes they don't. Replace with
wildcard matching.
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was modifiedclang/test/CodeGen/thinlto-distributed-newpm.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
Commit 484a7472f1aa6906f2b66dc33bcf69cc8d5b9f29 by puyan
[llvm][MIRVRegNamerUtils] Adding hashing on FrameIndex MachineOperands.
This patch makes it so that cases where multiple instructions that
differ only in their FrameIndex MachineOperand values no longer collide.
For instance:
%1:_(p0) = G_FRAME_INDEX %stack.0
%2:_(p0) = G_FRAME_INDEX %stack.1
Prior to this patch these instructions would collide together.
Differential Revision: https://reviews.llvm.org/D71583
The file was modifiedllvm/lib/CodeGen/MIRVRegNamerUtils.cpp
The file was addedllvm/test/CodeGen/MIR/X86/mir-namer-hash-frameindex.mir
Commit 64a93afc3c630c39e5c583e4f67aef5821d635b6 by maskray
[X86][Disassembler] Fix a bug when disassembling an empty string
readPrefixes() assumes insn->bytes is non-empty. The code path is not
exercised in llvm-mc because llvm-mc does not feed empty input to
MCDisassembler::getInstruction().
This bug is uncovered by a5994c789a2982a770254ae1607b5b4cb641f73c. An
empty string did not crash before because the deleted regionReader()
allowed UINT64_C(-1) as insn->readerCursor.
  Bytes.size() <= Address -> R->Base
0 <= UINT64_C(-1) - UINT32_C(-1)
The file was modifiedllvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
The file was modifiedllvm/unittests/MC/Disassembler.cpp
Commit cb988a858abbaf1a1ae0fe03f2a1dae692131ea9 by tejohnson
Add a couple of missed wildcards in debug-pass-manager output checking
Along with the previous fix for bot failures from
2af97be8027a0823b88d4b6a07fc5eedb440bc1f, need to add a wildcard in a
couple of places where my local output did not print "llvm::" but the
bot is.
The file was modifiedclang/test/CodeGen/thinlto-distributed-newpm.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
Commit 6288f86e870c7bb7fe47cc138320b9eb34c93941 by tejohnson
Revert "[ThinLTO] Add additional ThinLTO pipeline testing with new PM"
This reverts commit 2af97be8027a0823b88d4b6a07fc5eedb440bc1f.
After attempting to fix bot failures from matching issues (mostly due to
inconsistent printing of "llvm::" prefixes on objects, and
AnalysisManager objects being printed differntly, I am now seeing some
differences I don't understand (real differences in the passes being
printed). Giving up at this point to allow the bots to recover. Will
revisit later.
The file was removedllvm/test/Other/Inputs/new-pm-thinlto-prelink-pgo-defaults.proftext
The file was removedllvm/test/Other/Inputs/new-pm-thinlto-samplepgo-defaults.prof
The file was removedclang/test/CodeGen/thinlto-distributed-newpm.ll
The file was removedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was removedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was removedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
The file was removedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-pgo.ll
Commit 2b530053e9d696ada9269e7396180fc6262d2861 by thakis
[gn build] (manually) port b4a99a061f51
The file was modifiedllvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
Commit 15078d7202b410fd15eedc49d2ab2e4fe9a9f177 by kadircet
[clangd] Render header of hover card as a heading
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72625
The file was modifiedclang-tools-extra/clangd/FormattedString.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FormattedStringTests.cpp
The file was modifiedclang-tools-extra/clangd/FormattedString.h
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
Commit f5465e74ef4c9e24f867002aa598dc9e6481ead3 by kadircet
[clangd] Include expression in DecltypeTypeLoc sourcerange while
building SelectionTree
Summary: Currently AST only contains the location for `decltype`
keyword, therefore we were skipping expressions inside decltype while
building selection tree.
This patch extends source range in such cases to contain the expression
as well. A proper fix would require changes to Sema and DecltypeTypeLoc
to contain these location information.
Fixes https://github.com/clangd/clangd/issues/250.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72594
The file was modifiedclang-tools-extra/clangd/Selection.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
Commit 2bb154591fab6c1d3a99d63ef03c234f0a363410 by apl
[lldb-server] Remove dead CMake code
No files in lldb-server are including a header from a plugin without the
whole path to the header relative to the lldb source directory. There is
no need to include the specific directories as a result.
The file was modifiedlldb/tools/lldb-server/CMakeLists.txt
Commit 231875e111facf6d15553dff9d7c04d3e9e4a404 by phosek
[Clang] Always set -z now linker option on Fuchsia
This should be the default on Fuchsia.
Differential Revision: https://reviews.llvm.org/D70576
The file was modifiedclang/lib/Driver/ToolChains/Fuchsia.cpp
The file was modifiedclang/test/Driver/fuchsia.cpp
The file was modifiedclang/test/Driver/fuchsia.c
Commit a0f4600f4f0ece1d4779544513f5a70c6f0d78bf by daniel_l_sanders
Rework be15dfa88fb1 such that it works with GlobalISel which doesn't use
EVT
Summary: be15dfa88fb1 broke GlobalISel's usage of getSetCCInverse()
which currently appears to be limited to our out-of-tree backend.
GlobalISel doesn't use EVT's and isn't able to derive them from the
information it has as it doesn't distinguish between integer and
floating point types (that distinction is made by operations rather than
values). Bring back the bool version of getSetCCInverse() in a way that
doesn't break the intent of be15dfa88fb1 but also allows GlobalISel to
continue using it.
Reviewers: spatel, bogner, arichardson
Reviewed By: arichardson
Subscribers: rovka, hiraditya, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72309
The file was modifiedllvm/include/llvm/CodeGen/ISDOpcodes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit d0aad9f56e1588effa94b15804b098e6307da6b4 by tejohnson
[LTO] Constify lto::Config reference passed to backends (NFC)
The lto::Config object saved on the global LTO object should not be
updated by any of the LTO backends. Otherwise we could run into
interference between threads utilizing it. Motivated by some proposed
changes that would have caused it to get modified in the ThinLTO
backends.
The file was modifiedllvm/lib/LTO/LTOBackend.cpp
The file was modifiedllvm/include/llvm/LTO/LTOBackend.h
The file was modifiedllvm/lib/LTO/LTO.cpp
The file was modifiedllvm/include/llvm/LTO/LTO.h
Commit f163755eb0a86508d3bfe1822b7f635952b66104 by a.v.lapshin
[Dsymutil][Debuginfo][NFC] #3 Refactor dsymutil to separate DWARF
optimizing part.
Summary: This is the next portion of patches for dsymutil.
Create DwarfEmitter interface to generate all debug info tables. Put
DwarfEmitter into DwarfLinker library and make
tools/dsymutil/DwarfStreamer to be child of DwarfEmitter.
It passes check-all testing. MD5 checksum for clang .dSYM bundle matches
for the dsymutil with/without that patch.
Reviewers: JDevlieghere, friss, dblaikie, aprantl
Reviewed By: JDevlieghere
Subscribers: merge_guards_bot, hiraditya, thegameg, probinson,
llvm-commits
Tags: #llvm, #debug-info
Differential Revision: https://reviews.llvm.org/D72476
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.h
The file was modifiedllvm/tools/dsymutil/DwarfLinkerForBinary.h
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.cpp
The file was modifiedllvm/tools/dsymutil/DwarfLinkerForBinary.cpp
The file was modifiedllvm/include/llvm/DWARFLinker/DWARFLinker.h
The file was modifiedllvm/lib/DWARFLinker/DWARFLinker.cpp
Commit 69f4cea413991a2a96635c58272bd4205f3e0c36 by spatel
[InstCombine] add tests for select --> copysign; NFC
This is testing for another (possibly final) transform suggested in:
https://bugs.llvm.org/show_bug.cgi?id=44153
The file was modifiedllvm/test/Transforms/InstCombine/select.ll
Commit c1b13a1b17719aebace1b3be7a6ac7f90b1901a6 by aaron
Fix a test case by adding -fno-delayed-template-parsing.
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-identifier-naming-member-decl-usage.cpp
Commit b7526cc21ce55c8b53250df3d659fbdae3f894a7 by puyan
[NFC][clang][IFS] Adding braces to if-statement as prep for D71301.
Just trying to make https://reviews.llvm.org/D71301 look cleaner.
The file was modifiedclang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
Commit bd8c8827d96f09be502f0da6897c1aef89e45c30 by puyan
[clang][IFS] Prevent Clang-IFS from Leaking symbols from inside a block.
Built libdispatch with clang interface stubs. Ran into some block
related issues. Basically VarDecl symbols can leak out because I wasn't
checking the case where a VarDecl is contained inside a BlockDecl
(versus a method or function).
This patch checks that a VarDecl is not a child decl of a BlockDecl.
This patch also does something very similar for c++ lambdas as well.
Differential Revision: https://reviews.llvm.org/D71301
The file was addedclang/test/InterfaceStubs/lambda.cpp
The file was modifiedclang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
The file was addedclang/test/InterfaceStubs/blocks.c
Commit 577efd09e3b7b3a1ec7fcf0597397f137da99843 by Raphael Isemann
[lldb] Revert ddf044290ede for TestProcessAPI.py
It seems ddf044290ede7d7fd47f4f673e3e628f551a8aac caused the test to
time out on the Windows bot, but it's unclear to me why.
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
Commit 26c7a4ed101fae85d2041ee1c8e8483b96e4460e by craig.topper
[LegalizeIntegerTypes][X86] Add support for expanding input of
STRICT_SINT_TO_FP/STRICT_UINT_TO_FP into a libcall.
Needed to support i128->fp128 on 32-bit X86.
Add full set of strict sint_to_fp/uint_to_fp conversion tests for fp128.
The file was modifiedllvm/test/CodeGen/X86/fp128-cast-strict.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
Commit 4268e4f4b84b85266426e99050d31ec63f3ce8aa by riverriddle
[mlir] Change the syntax of AffineMapAttr and IntegerSetAttr to avoid
conflicts with function types.
Summary: The current syntax for AffineMapAttr and IntegerSetAttr
conflict with function types, making it currently impossible to
round-trip function types(and e.g. FuncOp) in the IR. This revision
changes the syntax for the attributes by wrapping them in a keyword.
AffineMapAttr is wrapped with `affine_map<>` and IntegerSetAttr is
wrapped with `affine_set<>`.
Reviewed By: nicolasvasilache, ftynse
Differential Revision: https://reviews.llvm.org/D72429
The file was modifiedmlir/test/AffineOps/invalid.mlir
The file was modifiedmlir/test/Transforms/affine-loop-invariant-code-motion.mlir
The file was modifiedmlir/test/Dialect/Linalg/loops.mlir
The file was modifiedmlir/test/IR/core-ops.mlir
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/test/Dialect/Linalg/roundtrip.mlir
The file was modifiedmlir/test/Transforms/unroll.mlir
The file was modifiedmlir/include/mlir/IR/OpImplementation.h
The file was modifiedmlir/test/Transforms/Vectorize/compose_maps.mlir
The file was modifiedmlir/docs/Dialects/Standard.md
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-memref-ops.mlir
The file was modifiedmlir/test/Transforms/loop-invariant-code-motion.mlir
The file was modifiedmlir/docs/Dialects/Affine.md
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
The file was modifiedmlir/test/Transforms/Vectorize/normalize_maps.mlir
The file was modifiedmlir/test/Transforms/Vectorize/vectorize_outer_loop_2d.mlir
The file was modifiedmlir/test/Dialect/Linalg/invalid.mlir
The file was modifiedmlir/test/IR/invalid-ops.mlir
The file was modifiedmlir/test/IR/pretty-locations.mlir
The file was modifiedmlir/test/Dialect/VectorOps/invalid.mlir
The file was modifiedmlir/test/Transforms/canonicalize.mlir
The file was modifiedmlir/test/IR/invalid-affinemap.mlir
The file was modifiedmlir/test/IR/invalid.mlir
The file was modifiedmlir/test/IR/opaque_locations.mlir
The file was modifiedmlir/test/IR/affine-map.mlir
The file was modifiedmlir/test/Transforms/affine-data-copy.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile_conv.mlir
The file was modifiedmlir/include/mlir/IR/DialectImplementation.h
The file was modifiedmlir/lib/Parser/Parser.cpp
The file was modifiedmlir/test/Dialect/Linalg/fusion.mlir
The file was modifiedmlir/test/IR/locations.mlir
The file was modifiedmlir/test/Transforms/Vectorize/vectorize_transpose_2d.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
The file was modifiedmlir/docs/LangRef.md
The file was modifiedmlir/test/Transforms/unroll-jam.mlir
The file was modifiedmlir/test/Transforms/simplify-affine-structures.mlir
The file was modifiedmlir/test/Transforms/Vectorize/vectorize_1d.mlir
The file was modifiedmlir/test/Transforms/pipeline-data-transfer.mlir
The file was modifiedmlir/test/AffineOps/dma.mlir
The file was modifiedmlir/test/Transforms/Vectorize/vectorize_outer_loop_transpose_2d.mlir
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
The file was modifiedmlir/test/Conversion/VectorToLoops/vector-to-loops.mlir
The file was modifiedmlir/test/Dialect/Linalg/affine.mlir
The file was modifiedmlir/test/Transforms/dma-generate.mlir
The file was modifiedmlir/test/Transforms/constant-fold.mlir
The file was modifiedmlir/test/Transforms/loop-fusion-slice-computation.mlir
The file was modifiedmlir/test/Transforms/loop-tiling.mlir
The file was modifiedmlir/test/IR/print-op-local-scope.mlir
The file was modifiedmlir/test/IR/parser.mlir
The file was modifiedmlir/test/AffineOps/load-store-invalid.mlir
The file was modifiedmlir/test/Transforms/loop-fusion.mlir
The file was modifiedmlir/test/Dialect/Linalg/llvm.mlir
The file was modifiedmlir/test/Dialect/Linalg/promote.mlir
The file was modifiedmlir/test/Dialect/VectorOps/ops.mlir
The file was modifiedmlir/test/Transforms/cse.mlir
The file was modifiedmlir/test/Transforms/memref-dataflow-opt.mlir
The file was modifiedmlir/test/AffineOps/inlining.mlir
The file was modifiedmlir/test/AffineOps/memref-stride-calculation.mlir
The file was modifiedmlir/test/Transforms/memref-bound-check.mlir
The file was modifiedmlir/test/Dialect/VectorOps/vector-transforms.mlir
The file was modifiedmlir/test/Transforms/lower-affine.mlir
The file was modifiedmlir/lib/Parser/TokenKinds.def
The file was modifiedmlir/test/Transforms/strip-debuginfo.mlir
The file was modifiedmlir/test/Dialect/SPIRV/composite-ops.mlir
The file was modifiedmlir/test/Transforms/Vectorize/vectorize_2d.mlir
The file was modifiedmlir/test/IR/memory-ops.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile.mlir
The file was modifiedmlir/test/mlir-cpu-runner/linalg_integration_test.mlir
The file was modifiedmlir/test/AffineOps/load-store.mlir
The file was modifiedmlir/test/AffineOps/canonicalize.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
The file was modifiedmlir/test/AffineOps/ops.mlir
The file was modifiedmlir/test/Transforms/Vectorize/vectorize_3d.mlir
The file was modifiedmlir/test/Transforms/memref-dependence-check.mlir
The file was modifiedmlir/test/Transforms/slicing-utils.mlir
The file was modifiedmlir/test/Dialect/Linalg/tile_indexed_generic.mlir
The file was modifiedmlir/test/Dialect/Linalg/transform-patterns.mlir
The file was modifiedmlir/test/Transforms/memref-normalize.mlir
Commit 349636d2bfc39a5c81a835a95d203a42d9f9301a by erich.keane
Implement VectorType conditional operator GNU extension.
GCC supports the conditional operator on VectorTypes that acts as a
'select' in C++ mode. This patch implements the support. Types are
converted as closely to GCC's behavior as possible, though in a few
places consistency with our existing vector type support was preferred.
Note that this implementation is different from the OpenCL version in a
number of ways, so it unfortunately required a different implementation.
First, the SEMA rules and promotion rules are significantly different.
Secondly, GCC implements COND[i] != 0 ? LHS[i] : RHS[i] (where i is in
the range 0- VectorSize, for each element).  In OpenCL, the condition is
COND[i] < 0 ? LHS[i]: RHS[i].
In the process of implementing this, it was also required to make the
expression COND ? LHS : RHS type dependent if COND is type dependent,
since the type is now dependent on the condition.  For example:
    T ? 1 : 2;
Is not typically type dependent, since the result can be deduced from
the operands.  HOWEVER, if T is a VectorType now, it could change this
to a 'select' (basically a swizzle with a non-constant mask) with the 1
and 2 being promoted to vectors themselves.
While this is a change, it is NOT a standards incompatible change. Based
on my (and D. Gregor's, at the time of writing the code) reading of the
standard, the expression is supposed to be type dependent if ANY
sub-expression is type dependent.
Differential Revision: https://reviews.llvm.org/D71463
The file was modifiedclang/docs/LanguageExtensions.rst
The file was addedclang/test/SemaCXX/vector-conditional.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/include/clang/AST/Expr.h
The file was modifiedclang/test/Sema/vector-gcc-compat.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was addedclang/test/CodeGenCXX/vector-conditional.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
Commit 80a094e1348ae850cd996e947d70e34abf331685 by spatel
[InstCombine] add FMF to tests for more coverage; NFC
The file was modifiedllvm/test/Transforms/InstCombine/select.ll
Commit 810b28edb3f64569054d49d6ddf18a4d802d9b11 by martin
[ItaniumCXXABI] Make tls wrappers properly comdat
Just marking a symbol as weak_odr/linkonce_odr isn't enough for actually
tolerating multiple copies of it at linking on windows, it has to be
made a proper comdat; make it comdat for all platforms for consistency.
This should hopefully fix
https://bugzilla.mozilla.org/show_bug.cgi?id=1566288.
Differential Revision: https://reviews.llvm.org/D71572
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local-reference.cpp
The file was modifiedclang/test/CodeGenCXX/cxx11-thread-local.cpp
The file was modifiedclang/test/CodeGenCXX/tls-init-funcs.cpp
The file was modifiedclang/test/OpenMP/threadprivate_codegen.cpp
Commit 31441a3e007833a180b0112550eddb78547771f2 by tejohnson
[ThinLTO/WPD] Fix index-based WPD for alias vtables
Summary: A recent fix in D69452 fixed index based WPD in the presence of
available_externally vtables. It added a cast of the vtable def summary
to a GlobalVarSummary. However, in some cases one def may be an alias,
in which case we need to get the base object before casting, otherwise
we will crash.
Reviewers: evgeny777, steven_wu, aganea
Subscribers: mehdi_amini, inglorion, hiraditya, dexonsmith, arphaman,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71040
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was addedllvm/test/ThinLTO/X86/Inputs/devirt_alias.ll
The file was addedllvm/test/ThinLTO/X86/devirt_alias.ll
Commit f0719bf2196c807351137ff30e39fd12aa5aa884 by erich.keane
PR44514: Fix recovery from noexcept with non-convertible expressions
We currently treat noexcept(not-convertible-to-bool) as 'none', which
results in the typeloc info being a different size, and causing an
assert later on in the process.  In order to make recovery less
destructive, replace this with noexcept(false) and a constructed 'false'
expression.
Bug Report: https://bugs.llvm.org/show_bug.cgi?id=44514
Differential Revision: https://reviews.llvm.org/D72621
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was modifiedclang/test/SemaCXX/cxx0x-noexcept-expression.cpp
Commit cb89c7e3f744c1fede60f7d1c43528654de676bd by riverriddle
[mlir] Remove unnecessary assert for single region.
This was left over debugging.
The file was modifiedmlir/lib/Transforms/Utils/RegionUtils.cpp
Commit 328e0f3dcac52171b8cdedeaba22c98e7fbb75ea by akhuang
Revert "[DWARF5][DebugInfo]: Added support for DebugInfo generation for
auto return type for C++ member functions."
This reverts commit c958639098a8702b831952b1a1a677ae19190a55, which
causes a crash. See https://reviews.llvm.org/D70524 for details.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was removedllvm/test/DebugInfo/X86/debug-info-auto-return.ll
Commit a506f7f9105eec4baac296d21c922457d6f4b52a by puyan
[clang][IFS][test] Fixing mangled name of a test for Darwin.
Darwin adds an extra '_' before every C/global function mangled name and
because of this, this test was breaking on Darwin.
This is a fix for commit: https://reviews.llvm.org/D71301
The file was modifiedclang/test/InterfaceStubs/lambda.cpp
Commit 7b9f8e17d15d7516b186c0a85de71133b780f939 by yamauchi
[PGO][CHR] Guard against 0-to-0 branch weight and avoid division by zero
crash.
Summary: This fixes a crash in internal builds under SamplePGO.
Reviewers: davidxl
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72653
The file was modifiedllvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
The file was modifiedllvm/test/Transforms/PGOProfile/chr.ll
Commit 6d57511e0b6f95a369efe7274923a36de3489e7b by apl
[lldb-server] Prefer target_include_directories
In the documentation of `include_directories`, it notes that
`target_include_directories` is preferred because it affects specific
targets intead of propagating include search paths to the entire
project.
The file was modifiedlldb/tools/lldb-server/CMakeLists.txt
Commit 6fca03f0cae77c275870c4569bfeeb7ca0f561a6 by riverriddle
[mlir] Update the use-list algorithms in SymbolTable to support nested
references.
Summary: This updates the use list algorithms to support querying from a
specific symbol, allowing for the collection and detection of nested
references. This works by walking the parent "symbol scopes" and
applying the existing algorithm at each level.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D72042
The file was modifiedmlir/lib/IR/SymbolTable.cpp
The file was modifiedmlir/test/IR/test-symbol-uses.mlir
The file was modifiedmlir/test/IR/test-symbol-rauw.mlir
The file was modifiedmlir/include/mlir/IR/SymbolTable.h
The file was modifiedmlir/test/lib/IR/TestSymbolUses.cpp
Commit c7748404920b3674e79059cbbe73b6041a214444 by riverriddle
[mlir] Update the CallGraph for nested symbol references, and simplify
CallableOpInterface
Summary: This enables tracking calls that cross symbol table boundaries.
It also simplifies some of the implementation details of
CallableOpInterface, i.e. there can only be one region within the
callable operation.
Depends On D72042
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D72043
The file was modifiedmlir/include/mlir/IR/Function.h
The file was modifiedmlir/lib/Transforms/Utils/InliningUtils.cpp
The file was modifiedmlir/lib/Analysis/CallGraph.cpp
The file was modifiedmlir/test/lib/TestDialect/TestOps.td
The file was modifiedmlir/test/Analysis/test-callgraph.mlir
The file was modifiedmlir/include/mlir/Analysis/CallInterfaces.td
The file was modifiedmlir/lib/Transforms/Inliner.cpp
Commit 53539bb032d162e0147c0e9650a5d1c7ca77dae0 by akhuang
[DebugInfo] Add another level to DebugInfoKind called Constructor
The option will limit debug info by only emitting complete class type
information when its constructor is emitted. This patch changes
comparisons with LimitedDebugInfo to use the new level instead.
Differential Revision: https://reviews.llvm.org/D72427
The file was modifiedclang/include/clang/Basic/DebugInfoOptions.h
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.h
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/CodeGen/CGBlocks.cpp
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 9b92e4fbdb5bc4fdd21702e0ce104dfcac6a54a7 by riverriddle
[mlir] Add support for attaching a visibility to symbols.
Summary: The visibility defines the structural reachability of the
symbol within the IR. Symbols can define one of three visibilities:
* Public The symbol \may be accessed from outside of the visible IR. We
cannot assume that we can observe all of the uses of this symbol.
* Private The symbol may only be referenced from within the operations
in the current symbol table, via SymbolRefAttr.
* Nested The symbol may be referenced by operations in symbol tables
above the current symbol table, as long as each symbol table parent also
defines a non-private symbol. This allows or referencing the symbol from
outside of the defining symbol table, while retaining the ability for
the compiler to see all uses.
These properties help to reason about the properties of a symbol, and
will be used in a follow up to implement a dce pass on dead symbols.
A few examples of what this would look like in the IR are shown below:
  module @public_module {
   // This function can be accessed by 'live.user'
   func @nested_function() attributes { sym_visibility = "nested" }
    // This function cannot be accessed outside of 'public_module'
  func @private_function() attributes { sym_visibility = "private" }
}
  // This function can only be accessed from within this module.
func @private_function() attributes { sym_visibility = "private" }
  // This function may be referenced externally.
func @public_function()
  "live.user"() {uses = [@public_module::@nested_function,
                                     @private_function,
                                     @public_function]} : () -> ()
Depends On D72043
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D72044
The file was modifiedmlir/test/IR/traits.mlir
The file was modifiedmlir/lib/IR/Module.cpp
The file was modifiedmlir/test/lib/TestDialect/TestOps.td
The file was modifiedmlir/include/mlir/IR/SymbolTable.h
The file was modifiedmlir/lib/IR/SymbolTable.cpp
Commit 03edd6d6a693e5bc7b0df488c4d4901cc55d3566 by riverriddle
[mlir] NFC: Remove unused variable.
The file was modifiedmlir/test/lib/IR/TestSymbolUses.cpp
Commit 989bed989a41732d1b70314bd9063ccd6e74fe5c by richard
Re-enable testing of .s tests under test/CodeGen/X86.
These were temporarily disabled in 2013 and we apparently forgot to ever
turn them back on again.
Fix spelling of flag to llvm-mc in recently-added test that wasn't
actually being run due to this.
The file was modifiedllvm/test/CodeGen/X86/align-branch-boundary-default.s
The file was modifiedllvm/test/CodeGen/X86/lit.local.cfg
Commit e68e4cbcc50ba7ab8df5e09023f15e6cc2223bef by efriedma
[GlobalISel] Change representation of shuffle masks in MachineOperand.
We're planning to remove the shufflemask operand from ShuffleVectorInst
(D72467); fix GlobalISel so it doesn't depend on that Constant.
The change to prelegalizercombiner-shuffle-vector.mir happens because
the input contains a literal "-1" in the mask (so the parser/verifier
weren't really handling it properly). We now treat it as equivalent to
"undef" in all contexts.
Differential Revision: https://reviews.llvm.org/D72663
The file was modifiedllvm/lib/CodeGen/MachineVerifier.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-shuffle-vector.mir
The file was modifiedllvm/include/llvm/CodeGen/MachineInstrBuilder.h
The file was modifiedllvm/include/llvm/CodeGen/MachineOperand.h
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/lib/CodeGen/MIRParser/MIParser.cpp
The file was modifiedllvm/lib/CodeGen/MachineOperand.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineFunction.h
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
Commit 09db6e320985f2bee22634049857224e0a5e58f8 by Jonas Devlieghere
[llvm-exegesis] Initialize const bitvector member
This causes an error with older versions of clang: constructor for
'llvm::exegesis::InstructionsCache' must explicitly initialize the const
member 'BVC'
The file was modifiedllvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
Commit fb51ce10d7dcab9209d0cd059d907810dbd0197d by ditaliano
[LanguageRuntime] Retire an unused member function. NFCI.
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
Commit 84baf123a5213512e92e7deca2d111e00c2b97da by thakis
try to fix InterfaceStubs/lambda.cpp on Windows after bd8c8827d96f0
The file was modifiedclang/test/InterfaceStubs/lambda.cpp
Commit d1e3b23be46ac3ada8f5fe844629ad5bc233c24d by Jonas Devlieghere
[lldb/Utility] Add std::move to make placate clang 3.8
This fixes an error thrown by clang 3.8 that no viable conversion from
returned value to the function return type.
The file was modifiedlldb/source/Utility/StructuredData.cpp
Commit 3818101f7f8a631f4d2e4c639420fa9d6ab325e9 by ajcbik
[mlir] [VectorOps] fixed typo in verifier of slice op
Reviewers: nicolasvasilache, andydavis1, rriddle
Reviewed By: nicolasvasilache, rriddle
Subscribers: merge_guards_bot, mehdi_amini, rriddle, jpienaar, burmako,
shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester,
lucyrfox, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72664
The file was modifiedmlir/lib/Dialect/VectorOps/VectorOps.cpp
Commit 1ab13f8cc3f79d67c9b337cc0f4ac1dde0460be8 by mgorny
[clang] [test] Fix riscv-toolchain-extra to be less picky about paths
Fix riscv-toolchain-extra tests to pass when CLANG_RESOURCE_DIR is set
to another value than the default.
Differential Revision: https://reviews.llvm.org/D72591
The file was modifiedclang/test/Driver/riscv32-toolchain-extra.c
The file was modifiedclang/test/Driver/riscv64-toolchain-extra.c
Commit 1768ed7f8b1f53b5b4b3ff80da6ae2dce22b74a9 by craig.topper
[X86] Add test to show that nofpexcept flag is not preserved by stack
reload folding.
The file was addedllvm/test/CodeGen/X86/stack-folding-fp-nofpexcept.mir
Commit b1dcd84c7ea3c97ddd73f629441be24791f23624 by craig.topper
[X86] Copy the nofpexcept flag when folding a load into an instruction
using the load folding tables./
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/test/CodeGen/X86/stack-folding-fp-nofpexcept.mir