This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository llvm.
from 1a0b23e962e [InstSimplify] Pass SimplifyQuery into simplifyUnsignedRang [...] new c60c66e7ae0 Revert [InstCombine] Use SimplifyFMulInst to simplify multi [...] new 62e7ac6bbc6 Reland "clang-misexpect: Profile Guided Validation of Perfo [...]
The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: include/llvm/IR/DiagnosticInfo.h | 22 +- include/llvm/IR/FixedMetadataKinds.def | 1 + include/llvm/IR/MDBuilder.h | 5 + include/llvm/Transforms/Utils/MisExpect.h | 43 +++ lib/IR/DiagnosticInfo.cpp | 11 + lib/IR/MDBuilder.cpp | 12 + lib/Transforms/IPO/SampleProfile.cpp | 3 + lib/Transforms/InstCombine/InstCombineCalls.cpp | 8 +- .../Instrumentation/PGOInstrumentation.cpp | 4 + lib/Transforms/Scalar/LowerExpectIntrinsic.cpp | 31 ++- lib/Transforms/Utils/CMakeLists.txt | 1 + lib/Transforms/Utils/MisExpect.cpp | 177 +++++++++++++ test/ThinLTO/X86/lazyload_metadata.ll | 4 +- test/Transforms/InstCombine/fma.ll | 15 +- test/Transforms/LowerExpectIntrinsic/basic.ll | 31 ++- .../Inputs/misexpect-branch-correct.proftext | 38 +++ .../PGOProfile/Inputs/misexpect-branch.proftext | 38 +++ .../Inputs/misexpect-switch-correct.proftext | 16 ++ .../PGOProfile/Inputs/misexpect-switch.proftext | 16 ++ .../PGOProfile/misexpect-branch-correct.ll | 94 +++++++ .../PGOProfile/misexpect-branch-stripped.ll | 115 ++++++++ .../PGOProfile/misexpect-branch-unpredictable.ll | 89 +++++++ test/Transforms/PGOProfile/misexpect-branch.ll | 130 +++++++++ .../PGOProfile/misexpect-switch-default.ll | 196 ++++++++++++++ test/Transforms/PGOProfile/misexpect-switch.ll | 293 +++++++++++++++++++++ 25 files changed, 1358 insertions(+), 35 deletions(-) create mode 100644 include/llvm/Transforms/Utils/MisExpect.h create mode 100644 lib/Transforms/Utils/MisExpect.cpp create mode 100644 test/Transforms/PGOProfile/Inputs/misexpect-branch-correct.proftext create mode 100644 test/Transforms/PGOProfile/Inputs/misexpect-branch.proftext create mode 100644 test/Transforms/PGOProfile/Inputs/misexpect-switch-correct.proftext create mode 100644 test/Transforms/PGOProfile/Inputs/misexpect-switch.proftext create mode 100644 test/Transforms/PGOProfile/misexpect-branch-correct.ll create mode 100644 test/Transforms/PGOProfile/misexpect-branch-stripped.ll create mode 100644 test/Transforms/PGOProfile/misexpect-branch-unpredictable.ll create mode 100644 test/Transforms/PGOProfile/misexpect-branch.ll create mode 100644 test/Transforms/PGOProfile/misexpect-switch-default.ll create mode 100644 test/Transforms/PGOProfile/misexpect-switch.ll