SuccessChanges

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

Summary

  1. [DAG] DAGCombiner::XformToShuffleWithZero - use APInt::extractBits (details)
  2. [CostModel][X86] Add missing scalar i64->f32 uitofp costs (details)
  3. [X86] Add extra PR43971 test case mentioned in D70267 (details)
  4. [clang-format] fix conflict between FormatStyle::BWACS_MultiLine and (details)
Commit 6fa6000e3e2bb582c6a8509c34b52ecd44fbf625 by llvm-dev
[DAG] DAGCombiner::XformToShuffleWithZero - use APInt::extractBits
helper. NFCI.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 5d986a68a59c9bed7060e87840e61390d8247c1d by llvm-dev
[CostModel][X86] Add missing scalar i64->f32 uitofp costs
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/X86/uitofp.ll
Commit de735247c8b638efa8ce5783ac8c7c2e0b7cf3eb by llvm-dev
[X86] Add extra PR43971 test case mentioned in D70267
The file was modifiedllvm/test/CodeGen/X86/extractelement-load.ll
Commit d45aafa2fbcf66f3dafdc7c5e0a0ce3709914cbc by mitchell
[clang-format] fix conflict between FormatStyle::BWACS_MultiLine and
BeforeCatch/BeforeElse
Summary: Found a bug introduced with BraceWrappingFlags
AfterControlStatement MultiLine. This feature conflicts with the
existing BeforeCatch and BeforeElse flags.
For example, our team uses BeforeElse.
if (foo ||
   bar) {
doSomething();
} else {
doSomethingElse();
}
If we enable MultiLine (which we'd really love to do) we expect it to
work like this:
if (foo ||
   bar)
{
doSomething();
} else {
doSomethingElse();
}
What we actually get is:
if (foo ||
   bar)
{
doSomething();
} else
{
doSomethingElse();
}
Reviewers: MyDeveloperDay, Bouska, mitchell-stellar
Patch by: pastey
Subscribers: Bouska, cfe-commits
Tags: clang
Differential Revision: https://reviews.llvm.org/D71939
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/UnwrappedLineFormatter.cpp