SuccessChanges

Summary

  1. [TableGen] Emit OperandType enums for RegisterOperands/RegisterClasses https://reviews.llvm.org/D66773 The OpTypes::OperandType was creating an enum for all records that inherit from Operand, but in reality there are operands for instructions that inherit from other types too. In particular, RegisterOperand and RegisterClass. This commit adds those types to the list of operand types that are tracked by the OperandType enum. Patch by: nlguillemot
  2. [Sema] Fix the atomic expr rebuilding order. Summary: - Rearrange the atomic expr order to the API order when rebuilding atomic expr during template instantiation. Reviewers: erichkeane Subscribers: jfb, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D67924
  3. [IR] Add getExtendedType() to IntegerType and Type (dispatching to IntegerType or VectorType)
  4. [InstCombine] dropRedundantMaskingOfLeftShiftInput(): improve comment
  5. [SLC] Convert some strndup calls to strdup calls Summary: Motivation: - If we can fold it to strdup, we should (strndup does more things than strdup). - Annotation mechanism. (Works for strdup well). strdup and strndup are part of C 20 (currently posix fns), so we should optimize them. Reviewers: efriedma, jdoerfert Reviewed By: jdoerfert Subscribers: lebedev.ri, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D67679
  6. [OPENMP]Use standard parsing for 'match' clause, NFC. Reused standard clauses parsing scheme for parsing/matching 'match' clause in 'declare variant' directive.
Revision 372641 by aditya_nandakumar:
[TableGen] Emit OperandType enums for RegisterOperands/RegisterClasses

https://reviews.llvm.org/D66773

The OpTypes::OperandType was creating an enum for all records that
inherit from Operand, but in reality there are operands for instructions
that inherit from other types too. In particular, RegisterOperand and
RegisterClass. This commit adds those types to the list of operand types
that are tracked by the OperandType enum.

Patch by: nlguillemot
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/TableGen/get-operand-type.td (diff)llvm.src/test/TableGen/get-operand-type.td
The file was modified/llvm/trunk/utils/TableGen/InstrInfoEmitter.cpp (diff)llvm.src/utils/TableGen/InstrInfoEmitter.cpp
Revision 372640 by hliao:
[Sema] Fix the atomic expr rebuilding order.

Summary:
- Rearrange the atomic expr order to the API order when rebuilding
  atomic expr during template instantiation.

Reviewers: erichkeane

Subscribers: jfb, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D67924
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Sema/Sema.h (diff)clang.src/include/clang/Sema/Sema.h
The file was modified/cfe/trunk/lib/Sema/SemaChecking.cpp (diff)clang.src/lib/Sema/SemaChecking.cpp
The file was modified/cfe/trunk/lib/Sema/TreeTransform.h (diff)clang.src/lib/Sema/TreeTransform.h
The file was modified/cfe/trunk/test/AST/atomic-expr.cpp (diff)clang.src/test/AST/atomic-expr.cpp
Revision 372638 by lebedevri:
[IR] Add getExtendedType() to IntegerType and Type (dispatching to IntegerType or VectorType)
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/IR/DerivedTypes.h (diff)llvm.src/include/llvm/IR/DerivedTypes.h
The file was modified/llvm/trunk/include/llvm/IR/Type.h (diff)llvm.src/include/llvm/IR/Type.h
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineShifts.cpp (diff)llvm.src/lib/Transforms/InstCombine/InstCombineShifts.cpp
Revision 372637 by lebedevri:
[InstCombine] dropRedundantMaskingOfLeftShiftInput(): improve comment
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineShifts.cpp (diff)llvm.src/lib/Transforms/InstCombine/InstCombineShifts.cpp
Revision 372636 by xbolva00:
[SLC] Convert some strndup calls to strdup calls

Summary:
Motivation:
- If we can fold it to strdup, we should (strndup does more things than strdup).
- Annotation mechanism. (Works for strdup well).

strdup and strndup are part of C 20 (currently posix fns), so we should optimize them.

Reviewers: efriedma, jdoerfert

Reviewed By: jdoerfert

Subscribers: lebedev.ri, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D67679
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Transforms/Utils/BuildLibCalls.h (diff)llvm.src/include/llvm/Transforms/Utils/BuildLibCalls.h
The file was modified/llvm/trunk/include/llvm/Transforms/Utils/SimplifyLibCalls.h (diff)llvm.src/include/llvm/Transforms/Utils/SimplifyLibCalls.h
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp (diff)llvm.src/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modified/llvm/trunk/lib/Transforms/Utils/BuildLibCalls.cpp (diff)llvm.src/lib/Transforms/Utils/BuildLibCalls.cpp
The file was modified/llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp (diff)llvm.src/lib/Transforms/Utils/SimplifyLibCalls.cpp
The file was modified/llvm/trunk/test/Transforms/InstCombine/objsize.ll (diff)llvm.src/test/Transforms/InstCombine/objsize.ll
The file was added/llvm/trunk/test/Transforms/InstCombine/strndup.llllvm.src/test/Transforms/InstCombine/strndup.ll
Revision 372635 by abataev:
[OPENMP]Use standard parsing for 'match' clause, NFC.

Reused standard clauses parsing scheme for parsing/matching 'match'
clause in 'declare variant' directive.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/AST/RecursiveASTVisitor.h (diff)clang.src/include/clang/AST/RecursiveASTVisitor.h
The file was modified/cfe/trunk/include/clang/Basic/OpenMPKinds.def (diff)clang.src/include/clang/Basic/OpenMPKinds.def
The file was modified/cfe/trunk/include/clang/Basic/OpenMPKinds.h (diff)clang.src/include/clang/Basic/OpenMPKinds.h
The file was modified/cfe/trunk/lib/AST/ASTTypeTraits.cpp (diff)clang.src/lib/AST/ASTTypeTraits.cpp
The file was modified/cfe/trunk/lib/AST/OpenMPClause.cpp (diff)clang.src/lib/AST/OpenMPClause.cpp
The file was modified/cfe/trunk/lib/Basic/OpenMPKinds.cpp (diff)clang.src/lib/Basic/OpenMPKinds.cpp
The file was modified/cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp (diff)clang.src/lib/CodeGen/CGStmtOpenMP.cpp
The file was modified/cfe/trunk/lib/Parse/ParseOpenMP.cpp (diff)clang.src/lib/Parse/ParseOpenMP.cpp
The file was modified/cfe/trunk/lib/Sema/SemaOpenMP.cpp (diff)clang.src/lib/Sema/SemaOpenMP.cpp