[PATCH] D139209: [IRMover] Remove UB implying parameter attributes when necessary

Tim Neumann via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 13 04:20:40 PST 2023


TimNN updated this revision to Diff 488941.
TimNN added a comment.

Adapt to changes from D137360 <https://reviews.llvm.org/D137360>.

This reverts to not taking into account whether `linkGlobalValueBody` was called because that information is not readily available in the helper added by D137360 <https://reviews.llvm.org/D137360> and I did not want to proxy that information via another parameter.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139209/new/

https://reviews.llvm.org/D139209

Files:
  llvm/include/llvm/IR/Attributes.h
  llvm/lib/Linker/IRMover.cpp
  llvm/test/Transforms/FunctionImport/Inputs/attr_fixup_dae_noundef.ll
  llvm/test/Transforms/FunctionImport/attr_fixup_dae_noundef.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139209.488941.patch
Type: text/x-patch
Size: 6606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230113/baaae55b/attachment.bin>


More information about the llvm-commits mailing list