[llvm-commits] CVS: llvm/docs/LangRef.html
Chris Lattner
clattner at apple.com
Sun Apr 1 13:51:02 PDT 2007
> +<p>This is an overloaded intrinsic function. You can use bswap on
> any integer
> +type that is an even number of bytes (i.e. BitWidth % 16 == 0).
> Note the suffix
> +that includes the type for the result and the operand.
> <pre>
> + declare i16 @llvm.bswap.i16.i16(i16 <id>)
> + declare i32 @llvm.bswap.i32.i32(i32 <id>)
> + declare i64 @llvm.bswap.i64.i32(i64 <id>)
Typo for i64.
> <p>
> +The '<tt>llvm.bwsap</tt>' family of intrinsics is used to byteswap
> integer
Typo.
> +values with an even number of bytes (positive multiple of 16
> bits). These are
> +useful for performing operations on data that is not in the
> target's native
> +byte order.
> </p>
Also, doesn't llvm-upgrade need to do something for these intrinsics?
-Chris
More information about the llvm-commits
mailing list