SuccessChanges

Summary

  1. [benchmark] Fixed a build error when using CMake 3.15.1 + NDK-R20 (details)
  2. [RISCV] Remove unused method isUImm5NonZero() from RISCVAsmParser.cpp. NFC (details)
Commit 09b3f3f22cbe159a737c44b2e78de08bbbfa5be3 by lebedev.ri
[benchmark] Fixed a build error when using CMake 3.15.1 + NDK-R20

std::decay_t used by llvm/utils/benchmark/include/benchmark/benchmark.h is a c++14 feature, but the CMakelist uses c++11, it's the root-cause of build error.

    There are two options to fix the error.
    1) change the CMakelist to support c++14.
    2) change std::decay_t to std::decay, it's what the patch done.

    This bug can only be reproduced by CMake 3.15, we didn't observer the bug with CMake 3.16. But based on the code's logic, it's an obvious bug of LLVM.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D93794
The file was modifiedllvm/utils/benchmark/include/benchmark/benchmark.h
Commit 94257d12cb2dc23ccdc34b6eb26b02a9cde3e668 by craig.topper
[RISCV] Remove unused method isUImm5NonZero() from RISCVAsmParser.cpp. NFC

The operand predicate that used this has been gone for a while.
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp