SuccessChanges

Summary

  1. Modernize llvm::Error handling in ExternalASTMerger (details)
  2. [DAGCombiner] Use TLI field already available. NFC (details)
  3. [DAGCombiner] Drop redundant DAG method param. NFC (details)
  4. [LV] PreferPredicateOverEpilog respecting predicate loop hint (details)
Commit 7e6294c056838683f43670c8390ef13df6657e57 by Raphael Isemann
Modernize llvm::Error handling in ExternalASTMerger
The file was modifiedclang/lib/AST/ExternalASTMerger.cpp
Commit 9b89bda517cf8d43e7127b09f75a54d14d3978bf by chfast
[DAGCombiner] Use TLI field already available. NFC
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 1c247dd028b368875bc36cd2a9ccc7fd90507776 by chfast
[DAGCombiner] Drop redundant DAG method param. NFC
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit cb47b8783017a76c5f2e4b974cfd6b22c9f1d5ff by sjoerd.meijer
[LV] PreferPredicateOverEpilog respecting predicate loop hint
The vectoriser queries TTI->preferPredicateOverEpilogue to determine if
tail-folding is preferred for a loop, but it was not respecting loop
hint
'predicate' that can disable this, which has now been added. This showed
that we were incorrectly initialising loop hint
'vectorize.predicate.enable' with 0
(i.e. FK_Disabled) but this should have been FK_Undefined, which has
been fixed.
Differential Revision: https://reviews.llvm.org/D70125
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/ARM/prefer-tail-loop-folding.ll