FailedChanges

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

Summary

  1. [CodeComplete] Tweak code completion for `typename`. (details)
  2. AggressiveInstCombineInternal.h - reduce unnecessary includes to forward declarations. NFC. (details)
  3. VNCoercion.cpp - remove unused includes. NFC. (details)
  4. Fix some clang-tidy namespace closing comments warnings. NFC. (details)
  5. LiveRangeEdit.h - reduce AliasAnalysis.h include to forward declaration. NFC. (details)
  6. MemoryLocation.h - reduce Instruction.h include to forward declaration. NFC. (details)
  7. Constants.h - remove unnecessary forward declarations. NFC. (details)
  8. [ARM] VCVTT fpround instruction selection (details)
  9. [AArch64][SVE] Guard perm and select bfloat16 intrinsic patterns (details)
  10. [AArch64][SVE] Predicate bfloat16 load patterns with HasBF16 (details)
  11. [lldb] Rewrite Scalar::Promote (details)
  12. [lldb/Unwind] Use eh_frame plan directly when it doesn't need to be augmented (details)
  13. LoopVectorize.h - reduce AliasAnalysis.h include to forward declaration. NFC. (details)
Commit 834c71829cc2e22841bf75e86b988c46252c70dc by kadircet
[CodeComplete] Tweak code completion for `typename`.

Summary:
Currently, clangd always completes `typename` as `typename qualifier::name`, I think the current behavior is not useful when the code completion is triggered in `template <>`. So I tweak it to `typename identifier`.

Patch by @lh123 !

Reviewers: sammccall, kadircet

Reviewed By: kadircet

Subscribers: ilya-biryukov, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82373
The file was modifiedclang/lib/Sema/SemaCodeComplete.cpp
The file was modifiedclang/test/CodeCompletion/ordinary-name-cxx11.cpp
The file was modifiedclang/test/CodeCompletion/ordinary-name.cpp
Commit dd3580cc2916c459806d81f74d63c311d31cebc1 by llvm-dev
AggressiveInstCombineInternal.h - reduce unnecessary includes to forward declarations. NFC.
The file was modifiedllvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombineInternal.h
The file was modifiedllvm/lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
Commit 70f290d95c331a610dcb1fcd53a0300acbee2851 by llvm-dev
VNCoercion.cpp - remove unused includes. NFC.
The file was modifiedllvm/lib/Transforms/Utils/VNCoercion.cpp
Commit 8b52037c7f9f44f5deea7f128f9560a96a6b449c by llvm-dev
Fix some clang-tidy namespace closing comments warnings. NFC.
The file was modifiedllvm/lib/IR/Use.cpp
The file was modifiedllvm/lib/IR/User.cpp
The file was modifiedllvm/lib/IR/LegacyPassManager.cpp
The file was modifiedllvm/lib/IR/FPEnv.cpp
The file was modifiedllvm/lib/IR/Operator.cpp
The file was modifiedllvm/lib/IR/PassManager.cpp
The file was modifiedllvm/lib/IR/SafepointIRVerifier.cpp
Commit da426ead73aa99202e80423048ace9ceb92312a8 by llvm-dev
LiveRangeEdit.h - reduce AliasAnalysis.h include to forward declaration. NFC.

Move include to LiveRangeEdit.cpp and replace legacy AliasAnalysis typedef with AAResults where necessary.
The file was modifiedllvm/lib/CodeGen/LiveRangeEdit.cpp
The file was modifiedllvm/include/llvm/CodeGen/LiveRangeEdit.h
Commit 8ebab67785ebe6d14dd87daf3dd063be35be9d95 by llvm-dev
MemoryLocation.h - reduce Instruction.h include to forward declaration. NFC.
The file was modifiedllvm/include/llvm/Analysis/MemoryLocation.h
Commit 712b0a20267eba0d69fff38fe2f1c3d835d0f7c0 by llvm-dev
Constants.h - remove unnecessary forward declarations. NFC.

We have to include DerivedTypes.h
The file was modifiedllvm/include/llvm/IR/Constants.h
Commit d428f88152087948c137611a6880fc025f6ae476 by david.green
[ARM] VCVTT fpround instruction selection

Similar to the recent patch for fpext, this adds vcvtb and vcvtt with
insert into vector instruction selection patterns for fptruncs. This
helps clear up a lot of register shuffling that we would otherwise do.

Differential Revision: https://reviews.llvm.org/D81637
The file was modifiedllvm/test/CodeGen/Thumb2/mve-div-expand.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrVFP.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-fmath.ll
The file was modifiedllvm/test/CodeGen/ARM/fp16-insert-extract.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vcvt16.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-masked-store.ll
Commit c65d4eb5d3db423a63e8f1ee8be5cfa36b5128cd by cullen.rhodes
[AArch64][SVE] Guard perm and select bfloat16 intrinsic patterns

Summary:
Permutation and selection bfloat16 intrinsic patterns should be guarded
on the feature flag `+bf16`. Missed in D82182 and D80850.

Reviewers: sdesmalen, fpetrogalli, kmclaughlin, efriedma

Reviewed By: fpetrogalli

Differential Revision: https://reviews.llvm.org/D82492
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-perm-select.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-perm-select-matmul-fp64.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-sel.ll
Commit 0ccfe1b267af84360c1ab6b7e5a1366e1aa8ef7d by kerry.mclaughlin
[AArch64][SVE] Predicate bfloat16 load patterns with HasBF16

Reviewers: sdesmalen, c-rhodes, efriedma, fpetrogalli

Reviewed By: fpetrogalli

Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, danielkiss, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82464
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-ld1-addressing-mode-reg-reg.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-masked-ldst-nonext.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-loads-ff.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-ld1.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-ld1-addressing-mode-reg-imm.ll
The file was modifiedllvm/test/CodeGen/AArch64/sve-intrinsics-loads-nf.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Commit ce275d3030a9dfcf9c55c81b88ae1b2c88f1828f by pavel
[lldb] Rewrite Scalar::Promote

This function was implementing c-like promotion rules by switching on
the both types. C promotion rules are complicated, but they are not
*that* complicated -- they basically boil down to:
- wider types trump narrower ones
- unsigned trump signed
- floating point trumps integral

With a couple of helper functions, we can rewrite the function in terms
of these rules and greatly reduce the size and complexity of this
function.
The file was modifiedlldb/source/Utility/Scalar.cpp
Commit 5ed8765e2f007e56a34e3aa0ab01f65c5aaa7e27 by pavel
[lldb/Unwind] Use eh_frame plan directly when it doesn't need to be augmented

Summary:
This fixes a bug in the logic for choosing the unwind plan. Based on the
comment in UnwindAssembly-x86, the intention was that a plan which
describes the function epilogue correctly does not need to be augmented
(and it should be used directly). However, the way this was implemented
(by returning false) meant that the higher level code
(FuncUnwinders::GetEHFrameAugmentedUnwindPlan) interpreted this as a
failure to produce _any_ plan and proceeded with other fallback options.
The fallback usually chosed for "asynchronous" plans was the
"instruction emulation" plan, which tended to fall over on certain
functions with multiple epilogues (that's a separate bug).

This patch simply changes the function to return true, which signals the
caller that the unmodified plan is ready to be used.

The attached test case demonstrates the case where we would previously
fall back to the instruction emulation plan, and unwind incorrectly --
the test asserts that the "augmented" eh_frame plan is used, and that
the unwind is correct.

Reviewers: jasonmolenda, jankratochvil

Subscribers: davide, echristo, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D82378
The file was addedlldb/test/Shell/Unwind/Inputs/eh-frame-augment-noop.s
The file was modifiedlldb/source/Plugins/UnwindAssembly/x86/UnwindAssembly-x86.cpp
The file was addedlldb/test/Shell/Unwind/eh-frame-augment-noop.test
Commit 1b10c618e9283104ad1e0de6e694982b5c942afd by llvm-dev
LoopVectorize.h - reduce AliasAnalysis.h include to forward declaration. NFC.

Replace legacy AliasAnalysis typedef with AAResults where necessary.
The file was modifiedllvm/include/llvm/Transforms/Vectorize/LoopVectorize.h
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp