[PATCH] D18015: Make functions in altivec.h be inline.

Daniel Jasper via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 9 15:02:37 PST 2016


djasper created this revision.
djasper added a reviewer: rsmith.
djasper added a subscriber: cfe-commits.

Similar to other intrinsics these need to be inline to avoid ODR conflicts. Also, some of them seem to be __always_inline__ which I think doesn't have an effect unless they are also inline.

I can also use clang-format on the patch, just thought I'd keep this easier to review for now.

http://reviews.llvm.org/D18015

Files:
  lib/Headers/altivec.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18015.50203.patch
Type: text/x-patch
Size: 663962 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160309/cd06151d/attachment-0001.bin>


More information about the cfe-commits mailing list