SuccessChanges

Summary

  1. [Syntax] Use a hash table to search for tokens by their location (details)
  2. gn build: Merge 1ad15046dcf (details)
  3. Revert "Temporarily Revert "[gicombiner] Add the MatchDag structure and (details)
  4. gn build: Merge 7ea2e5195a8 (details)
  5. Revert "[DebugInfo] Correctly handle salvaged casts and split fragments (details)
  6. [gicombiner] Add support for arbitrary match data being passed from (details)
  7. [lldb][NFC] Add unit test for persistent variable lookup with (details)
  8. [InstCombine] add tests for copysign; NFC (details)
  9. [AArch64] match fcvtl2 with bitcasted extract (details)
Commit c1bbefef9d36e84e469513374ef404b9e354b262 by ibiryukov
[Syntax] Use a hash table to search for tokens by their location
This is both more efficient and avoids corner cases in
`SourceManager::isBeforeInTranslationUnit`.
The change is trivial and clearly a performance improvement on the hot
path of building the syntax tree, so sending without review.
The file was modifiedclang/unittests/Tooling/Syntax/TreeTest.cpp
The file was modifiedclang/lib/Tooling/Syntax/BuildTree.cpp
Commit 2f4569303093359c0be2a8df0f24301492b68598 by llvmgnsyncbot
gn build: Merge 1ad15046dcf
The file was modifiedllvm/utils/gn/secondary/clang/lib/Tooling/Syntax/BUILD.gn
Commit 7ea2e5195a82bd9370d0b4362512b67c8b2cde80 by daniel_l_sanders
Revert "Temporarily Revert "[gicombiner] Add the MatchDag structure and
parse instruction DAG's from the input""
This reverts commit e62e760f29567fe0841af870c65a4f8ef685d217.
The issue @uweigand raised should have been fixed by iterating over the
vector that owns the operand list data instead of the FoldingSet.
The MSVC issue raised by @thakis should have been fixed by relaxing the
regexes a little. I don't have a Windows machine available to test that
so I tested it by using `perl -p -e 's/0x([0-9a-f]+)/\U\1\E/g' to
convert the output of %p to the windows style.
I've guessed at the issue @phosek raised as there wasn't enough
information to investigate it. What I think is happening on that bot is
the -debug option isn't available because the second stage build is a
release build. I'm not sure why other release-mode bots didn't report it
though.
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDag.h
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDag.cpp
The file was modifiedllvm/include/llvm/ADT/iterator.h
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagOperands.cpp
The file was addedllvm/test/TableGen/GICombinerEmitter/parse-match-pattern.td
The file was modifiedllvm/test/TableGen/GICombinerEmitter/match-invalid.td
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagInstr.h
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagEdge.cpp
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagInstr.cpp
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagPredicate.cpp
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagPredicate.h
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagEdge.h
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagOperands.h
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagPredicateDependencyEdge.cpp
The file was modifiedllvm/utils/TableGen/GlobalISel/CMakeLists.txt
The file was addedllvm/utils/TableGen/GlobalISel/GIMatchDagPredicateDependencyEdge.h
Commit bad6a76041ee4c360f96bdaa1f4cc5606eda203e by llvmgnsyncbot
gn build: Merge 7ea2e5195a8
The file was modifiedllvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn
Commit 1f3dd83cc1f2b8f72b9d59e2b4221b12fb7f9a95 by stozer
Revert "[DebugInfo] Correctly handle salvaged casts and split fragments
at ISel"
Reverted due to build failure on windows bots.
This reverts commit bb1b0bc4e57428ce364d3d6c075ff03cb8973462.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/test/Transforms/EarlyCSE/debug-info-undef.ll
The file was modifiedllvm/test/Transforms/InstCombine/unavailable-debug.ll
The file was modifiedllvm/test/Transforms/InstCombine/cast-mul-select.ll
The file was modifiedllvm/include/llvm/IR/DebugInfoMetadata.h
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
The file was modifiedllvm/test/DebugInfo/X86/dbg-value-dropped-instcombine.ll
The file was removedllvm/test/DebugInfo/salvage-cast-debug-info.ll
The file was modifiedllvm/lib/IR/DebugInfoMetadata.cpp
The file was modifiedllvm/test/Transforms/InstCombine/pr43893.ll
The file was removedllvm/test/CodeGen/ARM/fragmented-args-multiple-regs.ll
Commit 55c57408b0e70b188b0505e011172f13ec3b15fc by daniel_l_sanders
[gicombiner] Add support for arbitrary match data being passed from
match to apply
Summary: This is used by the extending_loads combine to tell the apply
step which use is the preferred one to fold and the other uses should be
re-written to consume.
Depends on D69117
Reviewers: volkan, bogner
Reviewed By: volkan
Subscribers: hiraditya, Petar.Avramovic, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69147
The file was modifiedllvm/include/llvm/Target/GlobalISel/Combine.td
The file was modifiedllvm/lib/Target/AArch64/AArch64PreLegalizerCombiner.cpp
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
Commit d8a3194987301672fbd50f4e5703952381f0157c by Raphael Isemann
[lldb][NFC] Add unit test for persistent variable lookup with
ClangExpressionDeclMap
This adds a unit test for looking up persistent declarations in the
scratch AST context. Also adds the `GetPersistentDecl` hook to the
ClangExpressionDeclMap that this unit test can emulate looking up
persistent variables without having a lldb_private::Target.
The file was modifiedlldb/unittests/Expression/ClangExpressionDeclMapTest.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
Commit c7492fbd4e85632a05428bd0281fcfd06f1fff6c by spatel
[InstCombine] add tests for copysign; NFC
The file was modifiedllvm/test/Transforms/InstCombine/copysign.ll
Commit 5e5e99c041e48a69615eefd123dac23d9d0c7f73 by spatel
[AArch64] match fcvtl2 with bitcasted extract
This should eliminate a regression seen in D63815.
If we are FP extending the high half extract of a vector, we should be
able to peek through a bitcast sitting between the extract and extend.
This replaces tablegen patterns with a more general DAG to DAG override,
so we can handle any casted type.
Differential Revision: https://reviews.llvm.org/D71515
The file was modifiedllvm/test/CodeGen/AArch64/arm64-vcvt_f.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.td