SuccessChanges

Summary

  1. Update parallelization settings on Linaro builders (details)
Commit 29232eb395bc07838facffcdf4a0ce80a2f93c7a by maxim.kuvyrkov
Update parallelization settings on Linaro builders

Summary:
- Remove -DLLVM_PARALLEL_LINK_JOBS=2 from Linaro builders now running
      on server-class hardware (vs Nvidia TK1 boards with 2GB RAM previously)
    - Reduce testsuite parallelism on Linaro builders from 96 to 32.
      These builders share either a 64-core machine or a 32-core machine,
      so trying for 96-thread parallelism is excessive.

Reviewers: gkistanova, olista01, rovka, yroux

Reviewed By: gkistanova, yroux

Differential Revision: https://reviews.llvm.org/D79161
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [libc][NFC][Obvious] Convert the MPFR operations enum to an enum class. (details)
  2. [analyzer] Add support for IE of keyboard and mouse navigation in HTML report (details)
  3. [StackSafety] Use getSignedRange for offsets (details)
  4. [StackSafety] Use SCEV to find mem operation length (details)
  5. [X86][llvm-mc] Make the suffix matcher more accurate. (details)
  6. [X86] Use SIMD_EXC to remove some let statements in tablegen. NFCI (details)
  7. [X86] Lower sse_cmp_ss/sse2_cmp_sd intrinsics to X86ISD::FSETCC with vector types. (details)
  8. [PGO] Fix computation of function Hash (details)
  9. Automatically configure MLIR when flang is enabled (details)
Commit 9f69d3d0bc65ff50b1dc3ab0a6a08ddc32b190a6 by sivachandra
[libc][NFC][Obvious] Convert the MPFR operations enum to an enum class.

This was suggested in https://reviews.llvm.org/D79149.
The file was modifiedlibc/test/src/math/expf_test.cpp
The file was modifiedlibc/test/src/math/cosf_test.cpp
The file was modifiedlibc/utils/MPFRWrapper/MPFRUtils.cpp
The file was modifiedlibc/test/src/math/exp2f_test.cpp
The file was modifiedlibc/test/src/math/fabsf_test.cpp
The file was modifiedlibc/utils/MPFRWrapper/MPFRUtils.h
The file was modifiedlibc/test/src/math/fabs_test.cpp
The file was modifiedlibc/test/src/math/sincosf_test.cpp
The file was modifiedlibc/test/src/math/sinf_test.cpp
Commit 6bbaa62d26b6061c93eb62c82048c14014ab7bd7 by dpetrov
[analyzer] Add support for IE of keyboard and mouse navigation in HTML report

IE throws errors while using key and mouse navigation through the error path tips.
querySelectorAll method returns NodeList. NodeList belongs to browser API. IE doesn't have forEach among NodeList's methods. At the same time Array is a JavaScript object and can be used instead. The fix is in the converting NodeList into Array and keeps using forEach method as before.

Checked in IE11, Chrome and Opera.

Differential Revision: https://reviews.llvm.org/D80444
The file was modifiedclang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
Commit d0f1f5adfa574ece80d566f400ebb689ae822a16 by Vitaly Buka
[StackSafety] Use getSignedRange for offsets
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/ipa.ll
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/local.ll
Commit 32a1f60d11f7295c1b93c33c190303c606b1b41d by Vitaly Buka
[StackSafety] Use SCEV to find mem operation length
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/local.ll
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
The file was modifiedllvm/test/Analysis/StackSafetyAnalysis/memintrin.ll
Commit 6565b5858444ba7dcf799467f5be63d2c2370715 by pengfei.wang
[X86][llvm-mc] Make the suffix matcher more accurate.

Summary:
Some instruction like VPMULDQ is NOT the variant of VPMULD but a new
one.
So we should make sure the suffix matcher only works for memory variant
that has the same size with the suffix.
Currently we only check for SSE/AVX* instructions, because many legacy
instructions didn't declare the alias instructions of their variants.

Differential Revision: https://reviews.llvm.org/D80608
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/dependent-pmuld-paddd.s
The file was modifiedllvm/lib/Target/X86/AsmParser/X86Operand.h
The file was modifiedllvm/test/MC/X86/avx512-err.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/dependent-pmuld-paddd.s
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
Commit b4978b24445cdc33311bbdb661060f9d9229efe9 by craig.topper
[X86] Use SIMD_EXC to remove some let statements in tablegen. NFCI
The file was modifiedllvm/lib/Target/X86/X86InstrSSE.td
Commit 84cf8ed8fd3f950b6e30225cae6f092da768cbe6 by craig.topper
[X86] Lower sse_cmp_ss/sse2_cmp_sd intrinsics to X86ISD::FSETCC with vector types.

Isel match that instead of the intrinsic. Similar to what we do
for avx512.

Trying to move more intrinsics to target specific ISD opcodes.
Hoping to add DAG combines to shrink simple loads going into
scalar intrinsics that only read 32 or 64 bits.
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedllvm/lib/Target/X86/X86InstrSSE.td
The file was modifiedllvm/lib/Target/X86/X86InstrFragmentsSIMD.td
The file was modifiedllvm/lib/Target/X86/X86IntrinsicsInfo.h
Commit de02a75e398415bad4df27b4547c25b896c8bf3b by sguelton
[PGO] Fix computation of function Hash

And bump its version number accordingly.

This is a patched recommit of 7c298c104bfe725d4315926a656263e8a5ac3054

Previous hash implementation was incorrectly passing an uint64_t, that got converted
to an uint8_t, to finalize the hash computation. This led to different functions
having the same hash if they only differ by the remaining statements, which is
incorrect.

Added a new test case that trivially tests that a small function change is
reflected in the hash value.

Not that as this patch fixes the hash computation, it would invalidate all hashes
computed before that patch applies, this is why we bumped the version number.

Update profile data hash entries due to hash function update, except for binary
version, in which case we keep the buggy behavior for backward compatibility.

Differential Revision: https://reviews.llvm.org/D79961
The file was modifiedclang/test/Profile/Inputs/c-counter-overflows.proftext
The file was modifiedclang/test/Profile/Inputs/c-unprofiled-blocks.proftext
The file was modifiedclang/test/Profile/Inputs/misexpect-switch-default.proftext
The file was modifiedclang/test/Profile/Inputs/c-general.proftext
The file was modifiedclang/test/Profile/Inputs/cxx-throws.proftext
The file was modifiedllvm/include/llvm/ProfileData/InstrProfData.inc
The file was modifiedclang/test/Profile/Inputs/misexpect-switch.proftext
The file was addedclang/test/Profile/Inputs/c-general.profdata.v5
The file was modifiedclang/test/Profile/Inputs/misexpect-switch-nonconst.proftext
The file was modifiedclang/test/Profile/Inputs/cxx-rangefor.proftext
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/test/Profile/c-general.c
The file was addedclang/test/Profile/c-collision.c
The file was modifiedclang/lib/CodeGen/CodeGenPGO.cpp
The file was modifiedllvm/include/llvm/ProfileData/InstrProf.h
Commit 0b5d81e6bbad1656c2e059621948967aaeaa5702 by joker.eph
Automatically configure MLIR when flang is enabled

This is more friendly than the "Unknown CMake command “mlir_tablegen”."
that would be issued instead.

Differential Revision: https://reviews.llvm.org/D80359
The file was modifiedllvm/CMakeLists.txt

Summary

  1. Update parallelization settings on Linaro builders (details)
Commit 29232eb395bc07838facffcdf4a0ce80a2f93c7a by maxim.kuvyrkov
Update parallelization settings on Linaro builders

Summary:
- Remove -DLLVM_PARALLEL_LINK_JOBS=2 from Linaro builders now running
      on server-class hardware (vs Nvidia TK1 boards with 2GB RAM previously)
    - Reduce testsuite parallelism on Linaro builders from 96 to 32.
      These builders share either a 64-core machine or a 32-core machine,
      so trying for 96-thread parallelism is excessive.

Reviewers: gkistanova, olista01, rovka, yroux

Reviewed By: gkistanova, yroux

Differential Revision: https://reviews.llvm.org/D79161
The file was modifiedbuildbot/osuosl/master/config/builders.py