SuccessChanges

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

Summary

  1. [LVI] Use find_as() where possible (NFC) (details)
  2. [LVI] Extract addValueHandle() method (NFC) (details)
  3. [JumpThreading] Make test more robust (NFC) (details)
  4. [CVP] Add another non null test (NFC) (details)
  5. [X86][SSE] Fold MOVMSK(PCMPEQ(X,0)) != -1 -> !PTESTZ(X,X) allof patterns (details)
  6. [X86] combineSetCCMOVMSK - consistently use CmpBits variable. NFCI. (details)
  7. [InstCombine] add tests for fabs(x) / fabs (x); NFC (details)
  8. [InstCombine] fabs(X) / fabs(X) -> X / X (details)
  9. RegionPass.h - remove unnecessary Function.h include. NFC. (details)
  10. ProfileSummaryInfo.h - reduce unnecessary Function.h include to forward declaration. NFC. (details)
  11. [InstCombine] add tests for fmul/fdiv with fabs operands; NFC (details)
  12. [InstCombine] remove unused parameter and add assert; NFC (details)
  13. Add --hot-func-list to llvm-profdata show for sample profiles (details)
  14. [lldb][NFC] Add more test for builtin formats (details)
  15. [VectorCombine] fix assert for type of compare operand (details)
Commit 64ecf85f63ef5613fe25ef7e0466c60f7d9c1908 by nikita.ppv
[LVI] Use find_as() where possible (NFC)

This prevents us from creating temporary PoisoningVHs and
AssertingVHs while performing hashmap lookups. As such, it only
matters in assertion-enabled builds.
The file was modifiedllvm/lib/Analysis/LazyValueInfo.cpp
Commit d3d4e4bcb7123878294fdf91fa72ecd36a111141 by nikita.ppv
[LVI] Extract addValueHandle() method (NFC)

There will be more places registering value handles.
The file was modifiedllvm/lib/Analysis/LazyValueInfo.cpp
Commit 4ae1740b871ebb63ca59e2fd3d314b6ebea7102e by nikita.ppv
[JumpThreading] Make test more robust (NFC)

Optimizing away this comparison is not the point of this test,
so make sure it cannot be optimized away.
The file was modifiedllvm/test/Transforms/JumpThreading/combine-metadata.ll
Commit be93ba1fd608cf9bef0a414c3193dff398c80c44 by nikita.ppv
[CVP] Add another non null test (NFC)
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/non-null.ll
Commit 56a9332328bee8208d03b6c8269fdd5dad44b523 by llvm-dev
[X86][SSE] Fold MOVMSK(PCMPEQ(X,0)) != -1 -> !PTESTZ(X,X) allof patterns
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/movmsk-cmp.ll
Commit 89dcbdfcfd3a76cb8c8ba0effef6cc8706564177 by llvm-dev
[X86] combineSetCCMOVMSK - consistently use CmpBits variable. NFCI.

The comparison value should be the same size - I've added an assert to be absolutely certain.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 61b5773796c75e8021f9f476da49fc1c0a5dd1bb by spatel
[InstCombine] add tests for fabs(x) / fabs (x); NFC
The file was modifiedllvm/test/Transforms/InstCombine/fdiv.ll
Commit d84cdb81ed44943217b0159139cfc6e7cd7132ef by spatel
[InstCombine] fabs(X) / fabs(X) -> X / X

Also, consolidate related folds so we don't miss/repeat these.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
The file was modifiedllvm/test/Transforms/InstCombine/fdiv.ll
Commit 3bab56cc5713195c129990888105e04c3315c312 by llvm-dev
RegionPass.h - remove unnecessary Function.h include. NFC.

Forward declaration is already used.
The file was modifiedllvm/include/llvm/Analysis/RegionPass.h
Commit 7a3f2a734a71ac21477d00f6653ab53ea81f3407 by llvm-dev
ProfileSummaryInfo.h - reduce unnecessary Function.h include to forward declaration. NFC.
The file was modifiedllvm/include/llvm/Analysis/ProfileSummaryInfo.h
Commit fc3cf48e1268702ee97a0f67a92976c9bec42a75 by spatel
[InstCombine] add tests for fmul/fdiv with fabs operands; NFC
The file was modifiedllvm/test/Transforms/InstCombine/fmul.ll
The file was modifiedllvm/test/Transforms/InstCombine/fdiv.ll
Commit 7b201bfcac262572667ff091b3bf8d00e7786217 by spatel
[InstCombine] remove unused parameter and add assert; NFC
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
Commit 7348b951fe74f306970f6ac567fe5dddbb1c42d4 by aktoon
Add --hot-func-list to llvm-profdata show for sample profiles

Summary: Add the --hot-func-list feature to llvm-profdata show for sample profiles. This feature prints a list of hot functions whose max sample count are above the 99% threshold, with their numbers of total samples, total samples percentage, max samples, entry samples, and their function names.

Reviewers: wmi, hoyFB, wenlei

Reviewed By: wmi

Subscribers: hoyFB, wenlei, llvm-commits, weihe

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81800
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp
The file was addedllvm/test/tools/llvm-profdata/Inputs/sample-hot-func-list.proftext
The file was addedllvm/test/tools/llvm-profdata/sample-hot-func-list.test
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h
Commit 90c1af106a20785ffd01c0d6a41db8bc0160fd11 by Raphael Isemann
[lldb][NFC] Add more test for builtin formats

The previous tests apparently missed a few code branches in DumpDataExtractor
code. Also renames the 'test_instruction' which had the same name as another
test (and Python therefore ignored the test entirely).
The file was modifiedlldb/test/API/functionalities/data-formatter/builtin-formats/TestBuiltinFormats.py
Commit 741e20f3d61964f2d3b1b32971083566be00bab6 by spatel
[VectorCombine] fix assert for type of compare operand

As shown in the post-commit comment for D81661 - we need to
loosen the type assertion to allow scalarization of a compare
for vectors of pointers.
The file was modifiedllvm/test/Transforms/VectorCombine/X86/scalarize-cmp.ll
The file was modifiedllvm/lib/Transforms/Vectorize/VectorCombine.cpp