diff options
author | Yunzhong Gao <Yunzhong_Gao@playstation.sony.com> | 2014-09-02 19:24:14 +0000 |
---|---|---|
committer | Yunzhong Gao <Yunzhong_Gao@playstation.sony.com> | 2014-09-02 19:24:14 +0000 |
commit | f2ced523dec78e931e33a4a4950f961b2b72c9dc (patch) | |
tree | 511fa6bf8b5b2693f041e6630c6f749efc3c39a9 /docs/LanguageExtensions.rst | |
parent | 8634605ecfa7cb7b339b066e57348ef7f4801e32 (diff) |
Fixing a typo in the documented __builtin_convertvector example.
"vf[0]" ==> "vs[0]"
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216935 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LanguageExtensions.rst')
-rw-r--r-- | docs/LanguageExtensions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/LanguageExtensions.rst b/docs/LanguageExtensions.rst index 26c1418cb6..dc4e4844db 100644 --- a/docs/LanguageExtensions.rst +++ b/docs/LanguageExtensions.rst @@ -1354,7 +1354,7 @@ type must have the same number of elements. // convert from a vector of 4 shorts to a vector of 4 floats. __builtin_convertvector(vs, vector4float) // equivalent to: - (vector4float) { (float) vf[0], (float) vf[1], (float) vf[2], (float) vf[3] } + (vector4float) { (float) vs[0], (float) vs[1], (float) vs[2], (float) vs[3] } **Description**: |