FailedChanges

Summary

  1. [AMDGPU] gfx1010 constant bus limit Constant bus limit has increased to 2 with GFX10. Differential Revision: https://reviews.llvm.org/D61404
  2. [X86] Remove the redundant suffix in vfpclassp[d,s]'s broadcasting variant The broadcasting variant for instruction vfpclassp[d,s] shouldn't use suffix q/l. So remove them from the template. Patch by Pengfei Wang Differential Revision: https://reviews.llvm.org/D61295
  3. lld-link: Make "duplicate resource" error message a bit more concise Reduces the error message from: lld-link: error: failed to parse .res file: duplicate resource: type STRINGTABLE (ID 6)/name ID 3/language 1033, in test1.res and in test2.res To: lld-link: error: duplicate resource: type STRINGTABLE (ID 6)/name ID 3/language 1033, in test1.res and in test2.res Make sure every error message emitted by cvtres contains the name of at least one ".res" file, so that removing the "failed to parse .res file" string doesn't lose information. Differential Revision: https://reviews.llvm.org/D61388
Revision 359754 by rampitec:
[AMDGPU] gfx1010 constant bus limit

Constant bus limit has increased to 2 with GFX10.

Differential Revision: https://reviews.llvm.org/D61404
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUSubtarget.cpptrunk/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUSubtarget.htrunk/lib/Target/AMDGPU/AMDGPUSubtarget.h
The file was modified/llvm/trunk/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpptrunk/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.cpptrunk/lib/Target/AMDGPU/SIInstrInfo.cpp
Revision 359753 by ctopper:
[X86] Remove the redundant suffix in vfpclassp[d,s]'s broadcasting variant

The broadcasting variant for instruction vfpclassp[d,s] shouldn't use suffix q/l. So remove them from the template.

Patch by Pengfei Wang

Differential Revision: https://reviews.llvm.org/D61295
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/X86/X86InstrAVX512.tdtrunk/lib/Target/X86/X86InstrAVX512.td
The file was modified/llvm/trunk/test/MC/X86/x86-64-avx512dq.strunk/test/MC/X86/x86-64-avx512dq.s
The file was modified/llvm/trunk/test/MC/X86/x86-64-avx512dq_vl.strunk/test/MC/X86/x86-64-avx512dq_vl.s
Revision 359749 by nico:
lld-link: Make "duplicate resource" error message a bit more concise

Reduces the error message from:
    lld-link: error: failed to parse .res file: duplicate resource: type STRINGTABLE (ID 6)/name ID 3/language 1033, in test1.res and in test2.res

To:
    lld-link: error: duplicate resource: type STRINGTABLE (ID 6)/name ID 3/language 1033, in test1.res and in test2.res

Make sure every error message emitted by cvtres contains the name of at
least one ".res" file, so that removing the "failed to parse .res file"
string doesn't lose information.

Differential Revision: https://reviews.llvm.org/D61388
Change TypePath in RepositoryPath in Workspace
The file was modified/lld/trunk/COFF/DriverUtils.cppN/A
The file was modified/llvm/trunk/include/llvm/Object/WindowsResource.htrunk/include/llvm/Object/WindowsResource.h
The file was modified/llvm/trunk/lib/Object/WindowsResource.cpptrunk/lib/Object/WindowsResource.cpp

Summary

  1. Replace ad-hoc tracking of pattern for an instantiated class-scope explicit function specialization with the MemberSpecializationInfo used everywhere else. Not NFC: the ad-hoc pattern tracking was not being serialized / deserialized properly. That's fixed here.
  2. Diagnose non-dependent qualified friend function template declarations that don't match any existing declaration. Don't get confused and treat such declarations as template *specializations*.
  3. [COFF, ARM64] Align global symbol by size for ARM64 MSVC ABI According to alignment section in below ARM64 ABI document, MSVC could increase alignment of global data based on its total size. Clang doesn't do this. Compile the same symbol into different alignments by Clang and MSVC could cause link error because some instruction encodings, like 64-bit LDR/STR with immediate, require the target to be 8 bytes aligned, and linker could choose code stream with such LDR/STR instruction from MSVC and 4 bytes aligned data from Clang into final image, which actually cannot be linked together (see https://bugs.llvm.org/show_bug.cgi?id=41506 for more details). https://docs.microsoft.com/en-us/cpp/build/arm64-windows-abi-conventions?view=vs-2019#alignment Differential Revision: https://reviews.llvm.org/D61225
Revision 359747 by rsmith:
Replace ad-hoc tracking of pattern for an instantiated class-scope
explicit function specialization with the MemberSpecializationInfo used
everywhere else.

Not NFC: the ad-hoc pattern tracking was not being serialized /
deserialized properly. That's fixed here.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/AST/ASTContext.htrunk/include/clang/AST/ASTContext.h
The file was modified/cfe/trunk/include/clang/AST/ASTNodeTraverser.htrunk/include/clang/AST/ASTNodeTraverser.h
The file was modified/cfe/trunk/include/clang/AST/Decl.htrunk/include/clang/AST/Decl.h
The file was modified/cfe/trunk/include/clang/AST/DeclTemplate.htrunk/include/clang/AST/DeclTemplate.h
The file was modified/cfe/trunk/include/clang/AST/RecursiveASTVisitor.htrunk/include/clang/AST/RecursiveASTVisitor.h
The file was modified/cfe/trunk/include/clang/Sema/Template.htrunk/include/clang/Sema/Template.h
The file was modified/cfe/trunk/lib/AST/ASTContext.cpptrunk/lib/AST/ASTContext.cpp
The file was modified/cfe/trunk/lib/AST/Decl.cpptrunk/lib/AST/Decl.cpp
The file was modified/cfe/trunk/lib/AST/DeclTemplate.cpptrunk/lib/AST/DeclTemplate.cpp
The file was modified/cfe/trunk/lib/Sema/SemaExpr.cpptrunk/lib/Sema/SemaExpr.cpp
The file was modified/cfe/trunk/lib/Sema/SemaTemplateInstantiate.cpptrunk/lib/Sema/SemaTemplateInstantiate.cpp
The file was modified/cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpptrunk/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modified/cfe/trunk/lib/Serialization/ASTReaderDecl.cpptrunk/lib/Serialization/ASTReaderDecl.cpp
The file was modified/cfe/trunk/lib/Serialization/ASTWriterDecl.cpptrunk/lib/Serialization/ASTWriterDecl.cpp
The file was modified/cfe/trunk/test/PCH/cxx-templates.cpptrunk/test/PCH/cxx-templates.cpp
The file was modified/cfe/trunk/test/PCH/cxx-templates.htrunk/test/PCH/cxx-templates.h
Revision 359746 by rsmith:
Diagnose non-dependent qualified friend function template declarations
that don't match any existing declaration. Don't get confused and treat
such declarations as template *specializations*.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Sema/SemaDecl.cpptrunk/lib/Sema/SemaDecl.cpp
The file was modified/cfe/trunk/lib/Sema/SemaOverload.cpptrunk/lib/Sema/SemaOverload.cpp
The file was modified/cfe/trunk/test/SemaCXX/friend-template-redecl.cpptrunk/test/SemaCXX/friend-template-redecl.cpp
The file was modified/cfe/trunk/test/SemaCXX/lambda-expressions.cpptrunk/test/SemaCXX/lambda-expressions.cpp
Revision 359744 by tomtan:
[COFF, ARM64] Align global symbol by size for ARM64 MSVC ABI

According to alignment section in below ARM64 ABI document, MSVC could increase
alignment of global data based on its total size. Clang doesn't do this. Compile
the same symbol into different alignments by Clang and MSVC could cause link
error because some instruction encodings, like 64-bit LDR/STR with immediate,
require the target to be 8 bytes aligned, and linker could choose code stream
with such LDR/STR instruction from MSVC and 4 bytes aligned data from Clang into
final image, which actually cannot be linked together
(see https://bugs.llvm.org/show_bug.cgi?id=41506 for more details).

https://docs.microsoft.com/en-us/cpp/build/arm64-windows-abi-conventions?view=vs-2019#alignment

Differential Revision: https://reviews.llvm.org/D61225
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Basic/TargetInfo.htrunk/include/clang/Basic/TargetInfo.h
The file was modified/cfe/trunk/lib/AST/ASTContext.cpptrunk/lib/AST/ASTContext.cpp
The file was modified/cfe/trunk/lib/Basic/Targets/AArch64.cpptrunk/lib/Basic/Targets/AArch64.cpp
The file was modified/cfe/trunk/lib/Basic/Targets/AArch64.htrunk/lib/Basic/Targets/AArch64.h
The file was modified/cfe/trunk/lib/Basic/Targets/NVPTX.cpptrunk/lib/Basic/Targets/NVPTX.cpp
The file was added/cfe/trunk/test/CodeGen/arm64-microsoft-struct-align.cpptrunk/test/CodeGen/arm64-microsoft-struct-align.cpp