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

Tim Neumann via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 13 11:49:37 PST 2022


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

Only call `ensureFunctionCompatibility` if `linkGlobalValueBody` isn't called.


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.ll
  llvm/test/Transforms/FunctionImport/attr_fixup.ll

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


More information about the llvm-commits mailing list