FailedChanges

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

Summary

  1. [Peeling] Extend the scope of peeling a bit (details)
  2. Return false if the identifier is not in the global module index. (details)
Commit 29b2c1ca72096ca06415b5e626e6728c42ef1e74 by serguei.katkov
[Peeling] Extend the scope of peeling a bit

Currently we allow peeling of the loops if there is a exiting latch block
and all other exits are blocks ending with deopt.

Actually we want that exit would end up with deopt unconditionally but
it is not required that exit itself ends with deopt.

Reviewers: reames, ashlykov, fhahn, apilipenko, fedor.sergeev
Reviewed By: apilipenko
Subscribers: hiraditya, zzheng, dantrushin, llvm-commits
Differential Revision: https://reviews.llvm.org/D81140
The file was addedllvm/test/Transforms/LoopUnroll/peel-loop-pgo-deopt-pd.ll
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollPeel.cpp
The file was modifiedllvm/lib/Transforms/Utils/LoopUtils.cpp
Commit 46ea465b5b741fb0bf6e2cedd5cd6bf7026cd3c6 by v.g.vassilev
Return false if the identifier is not in the global module index.

This allows clients to use the idiom:

if (GlobalIndex->lookupIdentifier(Name, FoundModules)) {
  // work on the FoundModules
}

This is also a minor performance improvent for clang.

Differential Revision: https://reviews.llvm.org/D81077
The file was modifiedclang/lib/Serialization/GlobalModuleIndex.cpp