[PATCH] D135075: [SimplifyLibCalls] Retain attributes added by Builder.CreateMem*

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 09:10:04 PDT 2022


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LGTM

> This currently does not make much of a difference (only one tests is
> affected), but it is helpful e.g. for the out-of-tree CHERI target where
> Builder.CreateMemCpy() can add attributes other than parameter alignment.

Out of interest, what attributes does it add?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135075



More information about the llvm-commits mailing list