Some garbage collectors require load and/or store barriers when
reading/storing object pointers. The only way to differentiate object
pointer from scalar type of the same size when using memory intrinsics
is elementtype attribute. Set it when we created new memcpy call
in function which has GCStrategy requiring barriers.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
clang-format suggested style edits found: