[PATCH] D74129: Prefer __vector over vector keyword for altivec use
serge via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 10 11:24:11 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3185c30c54d0: Prefer __vector over vector keyword for altivec (authored by serge-sans-paille).
Changed prior to commit:
https://reviews.llvm.org/D74129?vs=242902&id=243641#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74129/new/
https://reviews.llvm.org/D74129
Files:
clang/lib/Lex/Lexer.cpp
Index: clang/lib/Lex/Lexer.cpp
===================================================================
--- clang/lib/Lex/Lexer.cpp
+++ clang/lib/Lex/Lexer.cpp
@@ -2552,8 +2552,8 @@
'/', '/', '/', '/', '/', '/', '/', '/',
'/', '/', '/', '/', '/', '/', '/', '/'
};
- while (CurPtr+16 <= BufferEnd &&
- !vec_any_eq(*(const vector unsigned char*)CurPtr, Slashes))
+ while (CurPtr + 16 <= BufferEnd &&
+ !vec_any_eq(*(const __vector unsigned char *)CurPtr, Slashes))
CurPtr += 16;
#else
// Scan for '/' quickly. Many block comments are very large.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74129.243641.patch
Type: text/x-patch
Size: 618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200210/a12dbbb9/attachment.bin>
More information about the cfe-commits
mailing list