summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/vector-ops.c
Commit message (Collapse)AuthorAgeFilesLines
* Use raw_ostream in TypePrinter and eliminate uses of temporary std::strings.Argyrios Kyrtzidis2012-05-051-1/+1
| | | | | | Part of rdar://10796159 llvm-svn: 156228
* Unpluralize -Wfoo-conversions warnings for consistency.David Blaikie2012-03-151-1/+1
| | | | | | | | | | | | Err on the side of brevity and rename (while providing aliases for the original name) -Wbool-conversions, -Wint-conversions, and -Wvector-conversions for consistency with constant, literal, string, and sign conversion warnings. And name the diagnostic groups explicitly while I'm here rather than rewriting the string in the groups and sema td files. Curiously, vector-conversion is not under -Wconversion. Perhaps it should be. llvm-svn: 152776
* The comparison of two vectors should return a signed result. ↵Tanya Lattner2011-10-171-2/+3
| | | | | | | | | hasIntegerRepresentation() used to always return false for vectors, but since it was changed, it also changed the return type of a compare of two unsigned vectors to be unsigned. This patch removes the check for hasIntegerRepresentation since its not needed and returns the appropriate signed type. I added a new test case and updated exisiting test cases that assumed an unsigned result. llvm-svn: 142250
* AltiVec vector comparison logic now affect only vectors of fundamental ↵Anton Yartsev2011-03-271-0/+3
| | | | | | AltiVec vector types. It fixes bug 9347. llvm-svn: 128381
* Vectors are not integer types, so the type system should not classifyDouglas Gregor2010-07-231-0/+25
them as such. Type::is(Signed|Unsigned|)IntegerType() now return false for vector types, and new functions has(Signed|Unsigned|)IntegerRepresentation() cover integer types and vector-of-integer types. This fixes a bunch of latent bugs. Patch from Anton Yartsev! llvm-svn: 109229
OpenPOWER on IntegriCloud