[all-commits] [llvm/llvm-project] 7aea3e: [Intrinsics] Add `nocallback` to the default intri...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Thu Mar 24 11:51:23 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7aea3ea8c3b33c9bb338d5d6c0e4832be1d09ac3
https://github.com/llvm/llvm-project/commit/7aea3ea8c3b33c9bb338d5d6c0e4832be1d09ac3
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2022-03-24 (Thu, 24 Mar 2022)
Changed paths:
M clang/test/CodeGen/builtin-sqrt.c
M clang/test/CodeGen/libcalls.c
M llvm/include/llvm/IR/Intrinsics.td
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/test/Transforms/Attributor/ArgumentPromotion/X86/thiscall.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/byval.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/heap_to_stack_gpu.ll
M llvm/test/Transforms/Attributor/liveness.ll
M llvm/test/Transforms/Attributor/lvi-after-jumpthreading.ll
M llvm/test/Transforms/Attributor/memory_locations.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/nosync.ll
M llvm/test/Transforms/Attributor/openmp_parallel.ll
M llvm/test/Transforms/Attributor/readattrs.ll
M llvm/test/Transforms/Attributor/value-simplify-pointer-info.ll
M llvm/test/Transforms/Attributor/value-simplify.ll
M llvm/test/Transforms/Attributor/willreturn.ll
M llvm/test/Transforms/OpenMP/replace_globalization.ll
M llvm/test/Transforms/OpenMP/spmdization.ll
M llvm/test/Transforms/OpenMP/spmdization_guarding.ll
M llvm/utils/TableGen/CodeGenIntrinsics.h
M llvm/utils/TableGen/CodeGenTarget.cpp
M llvm/utils/TableGen/IntrinsicEmitter.cpp
Log Message:
-----------
[Intrinsics] Add `nocallback` to the default intrinsic attributes
Most intrinsics, especially "default" ones, will not call back into the
IR module. `nocallback` encodes this nicely. As it was not used before,
this patch also makes use of `nocallback` in the Attributor which
results in many more `norecurse` deductions.
Tablegen part is mechanical, test updates by script.
Differential Revision: https://reviews.llvm.org/D118680
More information about the All-commits
mailing list