SuccessChanges

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

Summary

  1. [MachineLICM] testcase for hoisting rematerializable instruction, nfc (details)
  2. [clang][docs] Remove untracked files from formatted status (details)
  3. [clang-tidy] Reworked enum options handling(again) (details)
  4. Fix build errors after b9306fd0 (details)
  5. [X86] Rename dagcombine-cse.ll i386 test prefix X86 instead of X32. (details)
  6. SpeculativeExecution: fix incorrect debug info move (details)
  7. Improve stack object printing. NFC. (details)
  8. Revert accidentally landed patch citing o build errors (details)
  9. [X86] combineScalarToVector - handle (v2i64 scalar_to_vector(aextload)) as well as (v2i64 scalar_to_vector(aext)) (details)
  10. [CVP] Add tests for icmp or and/or edge conds (NFC) (details)
  11. [LVI] Refactor value from icmp cond handling (NFC) (details)
Commit ab4627364aefcaac751e757b721b7d07b48a545a by czhengsz
[MachineLICM] testcase for hoisting rematerializable instruction, nfc
The file was addedllvm/test/CodeGen/PowerPC/rematerializable-instruction-machine-licm.ll
Commit abafb655c85d92c02c19c8723ef9ecc5d48574bf by n.james93
[clang][docs] Remove untracked files from formatted status

Currently on http://clang.llvm.org/docs/ClangFormattedStatus.html there are format stats on files no actually inside the tree but generated by build scripts. These are usually copied from somewhere else. Right now for example there are files from `llvm/utils/release/llvm-package...`. Adding these files bloats the list while not giving an accurate representation of how formatted the repo is.
This addresses this issue by checking the git index and ignoring any folder that doesn't contain tracked files.

I'm still unsure whether it would be better to just do away with the `os.walk` method and just check over every file returned from `git ls-index <project-root>`.

Reviewed By: MyDeveloperDay

Differential Revision: https://reviews.llvm.org/D82707
The file was modifiedclang/docs/tools/generate_formatted_state.py
Commit b9306fd042ce1c11d84f05d2124dfdc65b8331fe by n.james93
[clang-tidy] Reworked enum options handling(again)

Following on from D77085, I was never happy with the passing a mapping to the option get/store functions. This patch addresses this by using explicit specializations to handle the serializing and deserializing of enum options.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D82188
The file was modifiedclang-tools-extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/ReplaceRandomShuffleCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/utils/IncludeSorter.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h
The file was modifiedclang-tools-extra/clang-tidy/utils/TransformerClangTidyCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyCheck.h
The file was modifiedclang-tools-extra/clang-tidy/performance/MoveConstructorInitCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/abseil/StringFindStartswithCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/performance/TypePromotionInMathFnCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/utils/IncludeSorter.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/PassByValueCheck.cpp
The file was modifiedclang-tools-extra/unittests/clang-tidy/ClangTidyOptionsTest.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
Commit 42a51587c79a673045aec3586f4070630e5e7af3 by n.james93
Fix build errors after b9306fd0
The file was modifiedclang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h
Commit 9de26b56422c965e5721a1b0d63c49649531a779 by llvm-dev
[X86] Rename dagcombine-cse.ll i386 test prefix X86 instead of X32.
The file was modifiedllvm/test/CodeGen/X86/dagcombine-cse.ll
Commit c7bcd431d9c4bfeb631a3599f1d628603e6351d6 by dfukalov
SpeculativeExecution: fix incorrect debug info move

Summary:
Debug info related instructions got zero cost so hoisted unconditionally

Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=46267

Reviewers: arsenm, nhaehnle, chandlerc, aprantl

Reviewed By: aprantl

Subscribers: ormris, uabelho, wdng, aprantl, hiraditya, llvm-commits

Tags: #llvm, #debug-info

Differential Revision: https://reviews.llvm.org/D81730
The file was modifiedllvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
The file was addedllvm/test/Transforms/SpeculativeExecution/PR46267.ll
Commit c73966c2f79290e4eefe6e481f7bc94dd6ca4437 by Madhur.Amilkanthwar
Improve stack object printing. NFC.

Reviewers: madhur13490

Reviewed By: madhur13490

Subscribers: qcolombet, arsenm, jvesely, nhaehnle, hiraditya, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82712
The file was modifiedllvm/include/llvm/CodeGen/MachineFrameInfo.h
The file was modifiedllvm/lib/CodeGen/MachineFrameInfo.cpp
Commit 299dee91b34756cd6622886694d638d5e3796121 by Madhur.Amilkanthwar
Revert accidentally landed patch citing o build errors

Summary: This reverts commit c73966c2f79290e4eefe6e481f7bc94dd6ca4437.

Reviewers:

Subscribers:
The file was modifiedllvm/include/llvm/CodeGen/MachineFrameInfo.h
The file was modifiedllvm/lib/CodeGen/MachineFrameInfo.cpp
Commit e07a982693353aad85590301357035e9d583bbbc by llvm-dev
[X86] combineScalarToVector - handle (v2i64 scalar_to_vector(aextload)) as well as (v2i64 scalar_to_vector(aext))

We already fold (v2i64 scalar_to_vector(aext)) -> (v2i64 bitcast(v4i32 scalar_to_vector(x))), this adds support for similar aextload cases and also handles v2f64 cases that wrap the i64 extension behind bitcasts.

Fixes the remaining issue with PR39016
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-256-v16.ll
The file was modifiedllvm/test/CodeGen/X86/bitcast-int-to-vector-bool-sext.ll
The file was modifiedllvm/test/CodeGen/X86/bitcast-int-to-vector-bool-zext.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/dagcombine-cse.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-128-v8.ll
Commit 70c5d95248a3a9ea56b7b263e3bc008e9446e935 by nikita.ppv
[CVP] Add tests for icmp or and/or edge conds (NFC)
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/icmp.ll
Commit 614b995cace94e69fd1341addf81204d34e1bdff by nikita.ppv
[LVI] Refactor value from icmp cond handling (NFC)

Rewrite this in a way that is more amenable to extension.
The file was modifiedllvm/lib/Analysis/LazyValueInfo.cpp