Commit
038d604f4f8c0f02ef8b6e8740f1a6fc1538c193
by david.bolvansky[SimplifyLibCalls] Add noalias from known callsites Summary: Should be fine for memcpy, strcpy, strncpy. Reviewers: jdoerfert, efriedma Reviewed By: jdoerfert Subscribers: uenoku, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66135 llvm-svn: 368724
|
 | llvm/test/Transforms/InstCombine/memcpy-1.ll |
 | llvm/test/Transforms/InstCombine/memcpy-to-load.ll |
 | llvm/test/Transforms/InstCombine/memcpy_chk-1.ll |
 | llvm/test/Transforms/InstCombine/memcpy.ll |
 | llvm/test/Transforms/InstCombine/memcpy-from-global.ll |
 | llvm/test/Transforms/MemCpyOpt/memcpy-to-memset-with-lifetimes.ll |
 | llvm/test/Transforms/InstCombine/memmove.ll |
 | llvm/test/Transforms/InstCombine/sprintf-1.ll |
 | llvm/test/Transforms/InstCombine/stpcpy_chk-1.ll |
 | llvm/test/Transforms/InstCombine/strcpy_chk-1.ll |
 | llvm/test/Transforms/InstCombine/annotate-noalias.ll |
 | llvm/test/Transforms/InstCombine/objsize.ll |
 | llvm/test/Transforms/InstCombine/strncpy_chk-1.ll |
 | llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp |
 | llvm/test/Transforms/InstCombine/mem-deref-bytes.ll |
 | llvm/test/Analysis/TypeBasedAliasAnalysis/memcpyopt.ll |
Commit
97c35c9f57cff622bbb52dba7e05b1e1ce29961a
by david.bolvansky[NFC] Updated tests after r368724 llvm-svn: 368725
|
 | clang/test/CodeGen/tbaa-struct.cpp |
Commit
39bce250d25b766f9e19f7858caf1704bef9abcc
by rupprecht[util] Allow callsigns when running git llvm revert llvm-svn: 368726
|
 | llvm/utils/git-svn/git-llvm |
Commit
64517a6419ca7f7b4f349f512c7cc65c30dae2bf
by aheejinUse Register over unsigned in LateEHPrepare (NFC) Summary: While D65962 is pending for review, I landed D65475 that added one more use of `unsigned`. Changed it to `Register`. Reviewers: dsanders Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66064 llvm-svn: 368727
|
 | llvm/lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp |
Commit
2346b92f2bff05ef9d83706787bd38e32e0079c5
by nicolasweberclang: Don't warn on unused momit-leaf-frame-pointer when frame pointers are off. This fixes a regression from r365860: As that commit message states, there are 3 valid states targeted by the combination of -f(no-)omit-frame-pointer and -m(no-)omit-leaf-frame-pointer. After r365860 it's impossible to get from state 10 (omit just leaf frame pointers) to state 11 (omit all frame pointers) in a single command line without getting a warning. This change restores that functionality. Fixes PR42966. Differential Revision: https://reviews.llvm.org/D66142 llvm-svn: 368728
|
 | clang/test/Driver/frame-pointer-elim.c |
 | clang/lib/Driver/ToolChains/Clang.cpp |
Commit
bbccb94d02ef70c06583f4804cc52a4678ddbc04
by david.bolvansky[NFC] Fixed test llvm-svn: 368729
|
 | llvm/test/Other/cgscc-libcall-update.ll |
Commit
9e51fb6c576205c4ada59675d89443df10b4abff
by Steven Wu[AutoUpgrader] Make ArcRuntime Autoupgrader more conservative Summary: This is a tweak to r368311 and r368646 which auto upgrades the calls to objc runtime functions to objc runtime intrinsics, in order to make sure that the auto upgrader does not trigger with up-to-date bitcode. It is possible for bitcode that is up-to-date to contain direct calls to objc runtime function and those are not inserted by compiler as part of ARC and they should not be upgraded. Now auto upgrader only triggers as when the old style of ARC marker is used so it is guaranteed that it won't trigger on update-to-date bitcode. This also means it won't do this upgrade for bitcode from llvm-8 and llvm-9, which preserves the behavior of those releases. Ideally they should be upgraded as well but it is more important to make sure AutoUpgrader will not trigger on up-to-date bitcode. Reviewers: ahatanak, rjmccall, dexonsmith, pete Reviewed By: dexonsmith Subscribers: hiraditya, jkorous, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66153 llvm-svn: 368730
|
 | llvm/test/Bitcode/upgrade-arc-runtime-calls-new.bc |
 | llvm/include/llvm/IR/AutoUpgrade.h |
 | llvm/lib/IR/AutoUpgrade.cpp |
 | llvm/lib/Bitcode/Reader/BitcodeReader.cpp |
 | llvm/test/Bitcode/upgrade-arc-runtime-calls.ll |
Commit
d328954467f406895ba4306eee1109aad6b18797
by aktoon[llvm-profdata] Profile dump for compact binary format Summary: Fix "llvm-profdata show" so it can work with compact binary format profile. The change is to mark all functions "used" so SampleProfileReaderCompactBinary::read will read in all profiles available for dumping. The function names will be MD5 hash for compact binary format. Reviewers: wmi, davidxl, danielcdh Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65162 llvm-svn: 368731
|
 | llvm/test/tools/llvm-profdata/Inputs/compat-sample.profdata |
 | llvm/include/llvm/ProfileData/SampleProfReader.h |
 | llvm/test/tools/llvm-profdata/compact-sample.proftext |
 | llvm/lib/ProfileData/SampleProfReader.cpp |
Commit
f31d8df1c8c69e7a787c1c1c529a524f3001c66a
by Jan Korous[clang] Refactor doc comments to Decls attribution - Create ASTContext::attachCommentsToJustParsedDecls so we don't have to load external comments in Sema when trying to attach existing comments to just parsed Decls. - Keep comments ordered and cache their decomposed location - faster SourceLoc-based searching. - Optimize work with redeclarations. - Keep one comment per redeclaration chain (represented by canonical Decl) instead of comment per redeclaration. - For redeclaration chains with no comment attached keep just the last declaration in chain that had no comment instead of every comment-less redeclaration. Differential Revision: https://reviews.llvm.org/D65301 llvm-svn: 368732
|
 | clang/test/Index/comment-redeclarations.cpp |
 | clang/include/clang/AST/RawCommentList.h |
 | clang/lib/AST/ASTContext.cpp |
 | clang/lib/AST/RawCommentList.cpp |
 | clang/include/clang/AST/ASTContext.h |
 | clang/lib/Sema/SemaDecl.cpp |
 | clang/lib/Serialization/ASTReader.cpp |
 | clang/lib/Serialization/ASTWriter.cpp |
Commit
a655393f17424c92bc81a5084f3c65fcb361040d
by david.green[ARM] Add MVE beats vector cost model The MVE architecture has the idea of "beats", where a vector instruction can be executed over several ticks of the architecture. This adds a similar system into the Arm backend cost model, multiplying the cost of all vector instructions by a factor. This factor essentially becomes the expected difference between scalar code and vector code, on average. MVE Vector instructions can also overlap so the a true cost of them is often lower. But equally scalar instructions can in some situations be dual issued, or have other optimisations such as unrolling or make use of dsp instructions. The default is chosen as 2. This should not prevent vectorisation is a most cases (as the vector instructions will still be doing at least 4 times the work), but it will help prevent over vectorising in cases where the benefits are less likely. This adds things so far to the obvious places in ARMTargetTransformInfo, and updates a few related costs like not treating float instructions as cost 2 just because they are floats. Differential Revision: https://reviews.llvm.org/D66005 llvm-svn: 368733
|
 | llvm/lib/Target/ARM/ARMSubtarget.cpp |
 | llvm/test/Analysis/CostModel/ARM/arith.ll |
 | llvm/test/Analysis/CostModel/ARM/divrem.ll |
 | llvm/test/Analysis/CostModel/ARM/cast.ll |
 | llvm/test/Analysis/CostModel/ARM/load_store.ll |
 | llvm/test/Analysis/CostModel/ARM/shuffle.ll |
 | llvm/test/Analysis/CostModel/ARM/fparith.ll |
 | llvm/test/Analysis/CostModel/ARM/select.ll |
 | llvm/lib/Target/ARM/ARM.td |
 | llvm/lib/Target/ARM/ARMSubtarget.h |
 | llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp |