[all-commits] [llvm/llvm-project] fbfb1c: [IR] Make nosync, nofree and willreturn default fo...

Stefan Stipanovic via All-commits all-commits at lists.llvm.org
Tue Oct 20 03:00:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fbfb1c790982277eaa5134c2b6aa001e97fe828d
      https://github.com/llvm/llvm-project/commit/fbfb1c790982277eaa5134c2b6aa001e97fe828d
  Author: sstefan1 <sstipanovic at s-energize.com>
  Date:   2020-10-20 (Tue, 20 Oct 2020)

  Changed paths:
    M clang/test/CodeGen/builtin-sqrt.c
    M clang/test/CodeGen/libcalls.c
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/test/Analysis/BasicAA/cs-cs.ll
    M llvm/test/Analysis/BasicAA/intrinsics.ll
    M llvm/test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll
    M llvm/test/Analysis/TypeBasedAliasAnalysis/intrinsics.ll
    M llvm/test/Bindings/llvm-c/debug_info.ll
    M llvm/test/Bitcode/compatibility-3.6.ll
    M llvm/test/Bitcode/compatibility-3.7.ll
    M llvm/test/Bitcode/compatibility-3.8.ll
    M llvm/test/Bitcode/compatibility-3.9.ll
    M llvm/test/Bitcode/compatibility-4.0.ll
    M llvm/test/Bitcode/compatibility-5.0.ll
    M llvm/test/Bitcode/compatibility-6.0.ll
    M llvm/test/Bitcode/compatibility.ll
    M llvm/test/Bitcode/upgrade-invariant-group-barrier.ll
    M llvm/test/CodeGen/AMDGPU/addrspacecast-constantexpr.ll
    M llvm/test/Feature/intrinsics.ll
    M llvm/test/Instrumentation/MemorySanitizer/attributes.ll
    M llvm/test/Other/invariant.group.ll
    M llvm/test/Reduce/remove-attributes-from-intrinsics.ll
    M llvm/test/TableGen/intrin-side-effects.td
    M llvm/test/Transforms/Attributor/ArgumentPromotion/X86/attributes.ll
    M llvm/test/Transforms/Attributor/ArgumentPromotion/X86/min-legal-vector-width.ll
    M llvm/test/Transforms/Attributor/ArgumentPromotion/X86/thiscall.ll
    M llvm/test/Transforms/Attributor/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll
    M llvm/test/Transforms/Attributor/dereferenceable-1.ll
    M llvm/test/Transforms/Attributor/heap_to_stack.ll
    M llvm/test/Transforms/Attributor/liveness.ll
    M llvm/test/Transforms/Attributor/noalias.ll
    M llvm/test/Transforms/Attributor/nocapture-1.ll
    M llvm/test/Transforms/Attributor/nofree.ll
    M llvm/test/Transforms/Attributor/nonnull.ll
    M llvm/test/Transforms/Attributor/norecurse.ll
    M llvm/test/Transforms/Attributor/nosync.ll
    M llvm/test/Transforms/Attributor/readattrs.ll
    M llvm/test/Transforms/Attributor/value-simplify.ll
    M llvm/test/Transforms/Attributor/willreturn.ll
    M llvm/test/Transforms/DeadArgElim/2010-04-30-DbgInfo.ll
    M llvm/test/Transforms/DeadArgElim/keepalive.ll
    M llvm/test/Transforms/DeadStoreElimination/MemDepAnalysis/simple.ll
    M llvm/test/Transforms/Inline/dynamic-alloca-simplified-large.ll
    M llvm/test/Transforms/Inline/inline_invoke.ll
    M llvm/test/Transforms/Inline/noalias-calls.ll
    M llvm/test/Transforms/InstCombine/sdiv-guard.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/strided-load-double.ll
    M llvm/test/Transforms/LowerMatrixIntrinsics/strided-store-double.ll
    M llvm/test/Transforms/MemCpyOpt/memcpy.ll
    M llvm/test/Transforms/ObjCARC/basic.ll
    M llvm/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll
    M llvm/test/Transforms/ObjCARC/nested.ll
    M llvm/test/Transforms/SLPVectorizer/X86/call.ll
    M llvm/test/Verifier/fp-intrinsics.ll

  Log Message:
  -----------
  [IR] Make nosync, nofree and willreturn default for intrinsics.

D70365 allows us to make attributes default. This is a follow up to
actually make nosync, nofree and willreturn default. The approach we
chose, for now, is to opt-in to default attributes to avoid introducing
problems to target specific intrinsics. Intrinsics with default
attributes can be created using `DefaultAttrsIntrinsic` class.




More information about the All-commits mailing list