[llvm-bugs] [Bug 38012] New: bswap documentation does not mention vector support
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jul 2 01:10:24 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38012
Bug ID: 38012
Summary: bswap documentation does not mention vector support
Product: new-bugs
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: gonzalobg88 at gmail.com
CC: llvm-bugs at lists.llvm.org
The documentation of `llvm.bswap` in the LangRef:
https://llvm.org/docs/LangRef.html#llvm-bswap-intrinsics
Seems to convey that it only works on integers:
> You can use bswap on any integer type that is an even number of bytes (i.e. BitWidth % 16 == 0).
But it also works on vectors as rkruppe mentions here:
https://github.com/rust-lang-nursery/stdsimd/issues/419#issuecomment-401446306
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180702/0729df80/attachment.html>
More information about the llvm-bugs
mailing list