SuccessChanges

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

Summary

  1. [X86][Disassembler] Simplify readPrefixes (details)
  2. [X86] Preserve fpexcept property when turning strict_fp_extend and (details)
  3. [X86] Simplify code by removing an unreachable condition. NFCI (details)
  4. Add test for GDB pretty printers. (details)
  5. [X86] Remove dead code from X86DAGToDAGISel::Select that is no longer (details)
  6. [InstCombine] Preserve nuw on sub of geps (PR44419) (details)
  7. [LoopSimplify] Regenerate test checks; NFC (details)
  8. [LoopRotate] Add tests for rotate with switch; NFC (details)
  9. DSE: fix bug where we would only check libcalls for name rather than (details)
  10. [X86] Add more complex tests for vector masks used with AND/OR/XOR. (details)
  11. [X86][AVX] Add lowerShuffleAsLanePermuteAndSHUFP lowering (details)
  12. Fix copy+paste typo in shuffle test name (details)
  13. [Sema] Improve -Wrange-loop-analysis warnings. (details)
  14. [X86] Fix outdated comment (details)
  15. moveOperands - assert Src/Dst MachineOperands are non-null. (details)
  16. Remove copy ctors identical to the default one. NFC. (details)
  17. Fix uninitialized value clang static analyzer warning. NFC. (details)
  18. Fix "pointer is null" static analyzer warning. NFCI. (details)
  19. Fix "pointer is null" static analyzer warnings. NFCI. (details)
  20. Fix "pointer is null" static analyzer warning. NFCI. (details)
  21. Fix "pointer is null" static analyzer warning. NFCI. (details)
  22. Fix "pointer is null" static analyzer warnings. NFCI. (details)
Commit fcad5b298c7859d7f10908fab7b82983e286bb8d by maskray
[X86][Disassembler] Simplify readPrefixes
The file was modifiedllvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp
Commit 5fe5c0a60f9a5f32da4316ba0d1732a1e439703b by craig.topper
[X86] Preserve fpexcept property when turning strict_fp_extend and
strict_fp_round into stack operations.
We use the stack for X87 fp_round and for moving from SSE f32/f64 to X87
f64/f80. Or from X87 f64/f80 to SSE f32/f64.
Note for the SSE<->X87 conversions the conversion always happens in the
X87 domain. The load/store ops in the X87 instructions are able to
signal exceptions.
The file was modifiedllvm/lib/Target/X86/X86InstrFPStack.td
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit c2ddfa876fa90008f1b4ff611256ad5dd4b36d96 by craig.topper
[X86] Simplify code by removing an unreachable condition. NFCI
For X87<->SSE conversions, the SSE type is always smaller than the X87
type. So we can always use the smallest type for the memory type.
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit 60346bdbd73da9c944d50ea5dcecad71a05105ac by csigg
Add test for GDB pretty printers.
Reviewers: dblaikie, aprantl, davide, JDevlieghere
Reviewed By: aprantl
Subscribers: jmorse, aprantl, merge_guards_bot, mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72321
The file was addeddebuginfo-tests/llvm-prettyprinters/gdb/lit.local.cfg
The file was modifieddebuginfo-tests/CMakeLists.txt
The file was addeddebuginfo-tests/llvm-prettyprinters/gdb/prettyprinters.gdb
The file was addeddebuginfo-tests/llvm-prettyprinters/gdb/prettyprinters.cpp
The file was modifieddebuginfo-tests/lit.cfg.py
Commit 81a3d987ced0905bef2e3055bf77ec174bb631c7 by craig.topper
[X86] Remove dead code from X86DAGToDAGISel::Select that is no longer
needed now that we don't mutate strict fp nodes. NFC
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Commit 0e322c8a1f20ab04ce4f6bc538846859707f2d69 by nikita.ppv
[InstCombine] Preserve nuw on sub of geps (PR44419)
Fix https://bugs.llvm.org/show_bug.cgi?id=44419 by preserving the nuw on
sub of geps. We only do this if the offset has a multiplication as the
final operation, as we can't be sure the operations is nuw in the other
cases without more thorough analysis.
Differential Revision: https://reviews.llvm.org/D72048
The file was modifiedllvm/test/Transforms/InstCombine/sub-gep.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
Commit ad36d29eaed62e33eabab8ffd2006b9ff5fbd719 by nikita.ppv
[LoopSimplify] Regenerate test checks; NFC
For D72519.
The file was modifiedllvm/test/Transforms/LoopSimplify/basictest.ll
Commit 142ba7d76af4a66037fd180db371da19f35ef5f3 by nikita.ppv
[LoopRotate] Add tests for rotate with switch; NFC
For D72420.
The file was addedllvm/test/Transforms/LoopRotate/switch.ll
Commit 87407fc03c82d880cc42330a8e230e7a48174e3c by nunoplopes
DSE: fix bug where we would only check libcalls for name rather than
whole decl
The file was addedllvm/test/Transforms/DeadStoreElimination/libcalls2.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/libcalls.ll
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
Commit 5d069f4314a0d8b124a563e61d161c3c3d3b0536 by flo
[X86] Add more complex tests for vector masks used with AND/OR/XOR.
Additional test cases for D72524.
The file was modifiedllvm/test/CodeGen/X86/v8i1-masks.ll
Commit ce35010d782cb5a69102ad7785eb747f6d747eb4 by llvm-dev
[X86][AVX] Add lowerShuffleAsLanePermuteAndSHUFP lowering
Add initial support for lowering v4f64 shuffles to SHUFPD(VPERM2F128(V1,
V2), VPERM2F128(V1, V2)), eventually this could be used for v8f32 (and
maybe v8f64/v16f32) but I'm being conservative for the initial
implementation as only v4f64 can always succeed.
This currently is only called from lowerShuffleAsLanePermuteAndShuffle
so only gets used for unary shuffles, and we limit this to cases where
we use upper elements as otherwise concating 2 xmm shuffles is probably
the better case.
Helps with poor shuffles mentioned in D66004.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v4.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v8.ll
Commit 08275a52d83e623f0347fd9396c18f4d21a15c90 by llvm-dev
Fix copy+paste typo in shuffle test name
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v8.ll
Commit 9c74fb402e1b7aad4a509a49ab4792154b8ba2c8 by koraq
[Sema] Improve -Wrange-loop-analysis warnings.
No longer generate a diagnostic when a small trivially copyable type is
used without a reference. Before the test looked for a POD type and had
no size restriction. Since the range-based for loop is only available in
C++11 and POD types are trivially copyable in C++11 it's not required to
test for a POD type.
Since copying a large object will be expensive its size has been
restricted. 64 bytes is a common size of a cache line and if the object
is aligned the copy will be cheap. No performance impact testing has
been done.
Differential Revision: https://reviews.llvm.org/D72212
The file was addedclang/test/SemaCXX/warn-range-loop-analysis-trivially-copyable.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/test/SemaCXX/warn-range-loop-analysis.cpp
Commit 24763734e7f45e3b60118b28987685d42e7a761f by llvm-dev
[X86] Fix outdated comment
The generic saturated math opcodes are no longer widened inside
X86TargetLowering
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit a8ed86b5c705cf1d2f3ca55b0640cf0f2fe01abc by llvm-dev
moveOperands - assert Src/Dst MachineOperands are non-null.
Fixes static-analyzer warnings.
The file was modifiedllvm/lib/CodeGen/MachineInstr.cpp
Commit 7c7ca515837305f5d14033aee1191c254b86063c by benny.kra
Remove copy ctors identical to the default one. NFC.
Those do nothing but make the type no longer trivial to the compiler.
The file was modifiedmlir/include/mlir/IR/AffineExpr.h
The file was modifiedmlir/include/mlir/IR/AffineMap.h
The file was modifiedmlir/include/mlir/IR/IntegerSet.h
Commit 2740b2d5d5f0f56c87024555bdcae4f91e595ddb by llvm-dev
Fix uninitialized value clang static analyzer warning. NFC.
The file was modifiedllvm/lib/Transforms/Utils/CodeExtractor.cpp
Commit ded237b58d56299f90ef44853ef79b039248b85e by llvm-dev
Fix "pointer is null" static analyzer warning. NFCI.
Use castAs<> instead of getAs<> since the pointer is dereferenced
immediately below and castAs will perform the null assertion for us.
The file was modifiedclang/lib/Sema/SemaDecl.cpp
Commit 16c53ffcb9d040f0396bf1ab42ca366f7e1f1e4d by llvm-dev
Fix "pointer is null" static analyzer warnings. NFCI.
Use castAs<> instead of getAs<> since the pointer is dereferenced
immediately below and castAs will perform the null assertion for us.
The file was modifiedclang/lib/CodeGen/CGExprCXX.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
Commit d87a76c9dae38b2a1ef63584aee82e74490dc83b by llvm-dev
Fix "pointer is null" static analyzer warning. NFCI.
Use castAs<> instead of getAs<> since the pointer is dereferenced
immediately within mangleCallingConvention and castAs will perform the
null assertion for us.
The file was modifiedclang/lib/AST/MicrosoftMangle.cpp
Commit 93431f96a7b14ff03036bae77cc0197fdc98ad52 by llvm-dev
Fix "pointer is null" static analyzer warning. NFCI.
Use cast<> instead of dyn_cast<> since we know that the pointer should
be valid (and is dereferenced immediately).
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
Commit bf03944d5d9a7e7c8105c69dfa0d7e0d345644df by llvm-dev
Fix "pointer is null" static analyzer warnings. NFCI.
Use castAs<> instead of getAs<> since the pointers are dereferenced
immediately and castAs will perform the null assertion for us.
The file was modifiedclang/lib/Sema/SemaCodeComplete.cpp