FailedChanges

Summary

  1. [SystemZ] Remove incorrect assert in SystemZTTIImpl In getCmpSelInstrCost(), CondTy may actually be scalar while ValTy is a vector when LoopVectorizer is the caller. Therefore the assert that CondTy must be a vector type if ValTy is was wrong and is now removed. Review: Ulrich Weigand
  2. [ObjC] Disallow vector parameters and return values in Objective-C methods for iOS < 9 and OS X < 10.11 X86 targets This commit adds a new error that disallows methods that have parameters/return values with a vector type for some older X86 targets. This diagnostic is needed because objc_msgSend doesn't support SIMD vector registers/return values on X86 in iOS < 9 and OS X < 10.11. Note that we don't necessarily know if the vector argument/return value will use a SIMD register, so instead we chose to be conservative and prohibit all vector types. rdar://21662309 Differential Revision: https://reviews.llvm.org/D28670
Revision 301533 by jonpa:
[SystemZ]  Remove incorrect assert in SystemZTTIImpl

In getCmpSelInstrCost(), CondTy may actually be scalar while ValTy is a
vector when LoopVectorizer is the caller. Therefore the assert that CondTy
must be a vector type if ValTy is was wrong and is now removed.

Review: Ulrich Weigand
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp (diff)llvm-revision.src/llvm/trunk/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
Revision 301532 by arphaman:
[ObjC] Disallow vector parameters and return values in Objective-C methods
for iOS < 9 and OS X < 10.11 X86 targets

This commit adds a new error that disallows methods that have parameters/return
values with a vector type for some older X86 targets. This diagnostic is
needed because objc_msgSend doesn't support SIMD vector registers/return values
on X86 in iOS < 9 and OS X < 10.11. Note that we don't necessarily know if the
vector argument/return value will use a SIMD register, so instead we chose to
be conservative and prohibit all vector types.

rdar://21662309

Differential Revision: https://reviews.llvm.org/D28670
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/AST/DeclBase.h (diff)llvm-revision.src/cfe/trunk/include/clang/AST/DeclBase.h
The file was modified/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (diff)llvm-revision.src/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
The file was modified/cfe/trunk/lib/AST/DeclBase.cpp (diff)llvm-revision.src/cfe/trunk/lib/AST/DeclBase.cpp
The file was modified/cfe/trunk/lib/Sema/SemaDeclObjC.cpp (diff)llvm-revision.src/cfe/trunk/lib/Sema/SemaDeclObjC.cpp
The file was added/cfe/trunk/test/SemaObjC/x86-method-vector-values.mllvm-revision.src/cfe/trunk/test/SemaObjC/x86-method-vector-values.m