[PATCH] D81252: [SVE ACLE] Remove redundant bool_t typedef.
Paul Walker via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 6 05:50:43 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd6d2f78fe504: [SVE ACLE] Remove redundant bool_t typedef. (authored by paulwalker-arm).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81252/new/
https://reviews.llvm.org/D81252
Files:
clang/utils/TableGen/SveEmitter.cpp
Index: clang/utils/TableGen/SveEmitter.cpp
===================================================================
--- clang/utils/TableGen/SveEmitter.cpp
+++ clang/utils/TableGen/SveEmitter.cpp
@@ -437,7 +437,8 @@
S += "x" + utostr(getNumElements());
if (NumVectors > 1)
S += "x" + utostr(NumVectors);
- S += "_t";
+ if (!isScalarPredicate())
+ S += "_t";
}
if (Constant)
@@ -1058,7 +1059,6 @@
OS << "typedef __fp16 float16_t;\n";
OS << "typedef float float32_t;\n";
OS << "typedef double float64_t;\n";
- OS << "typedef bool bool_t;\n\n";
OS << "typedef __SVInt8_t svint8_t;\n";
OS << "typedef __SVInt16_t svint16_t;\n";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81252.269016.patch
Type: text/x-patch
Size: 675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200606/3fe6b234/attachment.bin>
More information about the cfe-commits
mailing list