Changes

Summary

  1. Compress formatting of array type names (int [4] -> int[4]) (details)
  2. [SLP]Fix PR52090: clang crashes: Assertion `Index < Length && "Invalid index!"' failed. (details)
  3. [OpenMP][host runtime] Add support for teams affinity (details)
  4. Disable add_mlir_aggregate() debug file generation. (details)
  5. [flang] Expunge bogus semantic check for ELEMENTAL without dummies (details)
  6. Revert "Compress formatting of array type names (int [4] -> int[4])" (details)
  7. [OpenMP][host runtime] small fixup of RTM CPUID bit check (details)
  8. [OpenMP][host runtime] Add initial hybrid CPU support (details)
  9. [hwasan] Add default "/" prefix. (details)
  10. [hwasan] Fix TestCases/thread-uaf.c. (details)
  11. [scudo] Fix running tests under hwasan. (details)
  12. [NFC][Interpreter] Remove unused CompilerInvocation (details)
  13. [flang] Fold LGE/LGT/LLE/LLT intrinsic functions (details)
  14. [mlir][ods] Enable emitting getter/setter prefix (details)
  15. [flang] Admit NULL() in generic procedure resolution cases (details)
  16. [libc] add memccpy and mempcpy (details)
  17. [NFC][asan] Use more common socket type in test (details)
  18. [NFC][sanitizer] Remove %stdcxx11 (details)
Commit 277623f4d5a672d707390e2c3eaf30a9eb4b075c by dblaikie
Compress formatting of array type names (int [4] -> int[4])

Based on post-commit review discussion on
2bd84938470bf2e337801faafb8a67710f46429d with Richard Smith.

Other uses of forcing HasEmptyPlaceHolder to false seem OK to me -
they're all around pointer/reference types where the pointer/reference
token will appear at the rightmost side of the left side of the type
name, so they make nested types (eg: the "int" in "int *") behave as
though there is a non-empty placeholder (because the "*" is essentially
the placeholder as far as the "int" is concerned).
The file was modifiedclang/test/Index/print-type.c
The file was modifiedclang/test/SemaObjC/method-bad-param.m
The file was modifiedclang/test/Analysis/cfg.cpp
The file was modifiedclang/test/SemaCXX/c99-variable-length-array-cxx11.cpp
The file was modifiedclang/test/Analysis/explain-svals.cpp
The file was modifiedclang/test/SemaOpenCLCXX/address-space-deduction.clcpp
The file was modifiedclang/test/AST/ast-dump-APValue-array.cpp
The file was modifiedclang/test/SemaObjC/flexible-array.m
The file was modifiedclang/test/SemaCXX/cxx1z-decomposition.cpp
The file was modifiedclang/test/AST/ast-dump-stmt.cpp
The file was modifiedclang/test/CXX/special/class.copy/p23-cxx11.cpp
The file was modifiedclang/test/Analysis/malloc-sizeof.c
The file was modifiedclang/test/AST/ast-dump-openmp-begin-declare-variant_9.c
The file was modifiedclang/test/Sema/matrix-type-builtins.c
The file was modifiedclang/test/SemaObjC/warn-write-strings.m
The file was modifiedclang/test/Layout/ms-x86-lazy-empty-nonvirtual-base.cpp
The file was modifiedclang/test/Layout/aix-power-alignment-typedef.cpp
The file was modifiedclang/test/Sema/var-redecl.c
The file was modifiedclang/test/SemaCXX/constexpr-string.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_firstprivate_messages.cpp
The file was modifiedclang/test/Sema/warn-write-strings.c
The file was modifiedclang/test/AST/ast-dump-expr-json.cpp
The file was modifiedclang/test/CXX/temp/temp.arg/temp.arg.nontype/p1.cpp
The file was modifiedclang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/p1.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx2a.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
The file was modifiedclang/test/AST/ast-dump-records.c
The file was modifiedclang/test/Sema/array-constraint.c
The file was modifiedclang/test/Sema/assign.c
The file was modifiedclang/test/Layout/ms-aligned-array.c
The file was modifiedclang/test/SemaCXX/overload-call.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
The file was modifiedclang/test/Misc/integer-literal-printing.cpp
The file was modifiedclang/test/Layout/ms-x86-empty-nonvirtual-bases.cpp
The file was modifiedclang/test/SemaCXX/for-range-examples.cpp
The file was modifiedclang/test/SemaCXX/attr-gnu.cpp
The file was modifiedclang/test/SemaCXX/cxx0x-type-convert-construct.cpp
The file was modifiedclang/test/AST/ast-dump-APValue-arithmetic.cpp
The file was modifiedclang/test/AST/ast-dump-array.cpp
The file was modifiedclang/test/Layout/ms-x86-empty-virtual-base.cpp
The file was modifiedclang/test/AST/sourceranges.cpp
The file was modifiedclang/test/SemaOpenCL/predefined-expr.cl
The file was modifiedclang/test/AST/ast-dump-records-json.cpp
The file was modifiedclang/test/ASTMerge/var/test.c
The file was modifiedclang/test/Analysis/more-dtors-cfg-output.cpp
The file was modifiedclang/test/Sema/c11-typedef-redef.c
The file was modifiedclang/test/Layout/no-unique-address.cpp
The file was modifiedclang/test/Sema/builtin-expect-with-probability.cpp
The file was modifiedclang/test/Sema/predef.c
The file was modifiedclang/test/Index/print-type.cpp
The file was modifiedclang/test/Sema/warn-sizeof-array-decay.c
The file was modifiedclang/test/Layout/ms-x86-empty-layout.c
The file was modifiedclang/test/SemaCXX/c99-variable-length-array.cpp
The file was modifiedclang/test/SemaCXX/cxx0x-initializer-aggregates.cpp
The file was modifiedclang/test/AST/ast-dump-templates.cpp
The file was modifiedclang/test/Misc/diag-macro-backtrace2.c
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.constr/non-function-templates.cpp
The file was modifiedclang/test/Modules/cxx-templates.cpp
The file was modifiedclang/test/Layout/ms-x86-pack-and-align.cpp
The file was modifiedclang/test/Layout/ms-x86-basic-layout.cpp
The file was modifiedclang/test/SemaOpenCL/invalid-kernel-parameters.cl
The file was modifiedclang/test/Sema/crash-invalid-array.c
The file was modifiedclang/test/AST/ast-dump-expr.c
The file was modifiedclang/test/Sema/empty1.c
The file was modifiedclang/test/AST/ast-dump-color.cpp
The file was modifiedclang/test/CXX/temp/temp.decls/temp.variadic/p2.cpp
The file was modifiedclang/test/SemaCXX/dcl_init_aggr.cpp
The file was modifiedclang/test/SemaTemplate/deduction-guide.cpp
The file was modifiedclang/test/Layout/watchos-standard-layout.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_reduction_messages.cpp
The file was modifiedclang/test/SemaCXX/static-assert-cxx17.cpp
The file was modifiedclang/test/SemaTemplate/pack-deduction.cpp
The file was modifiedclang/test/Index/print-type-size.cpp
The file was modifiedclang/test/SemaCXX/decl-init-ref.cpp
The file was modifiedclang/test/CXX/temp/temp.explicit/p8.cpp
The file was modifiedclang/test/Modules/odr_hash.cpp
The file was modifiedclang/test/SemaCXX/array-bound-merge.cpp
The file was modifiedclang/test/SemaCXX/cxx2a-compat.cpp
The file was modifiedclang/test/Layout/aix-Wpacked-expecting-diagnostics.cpp
The file was modifiedclang/test/Sema/builtin-expect-with-probability-avr.cpp
The file was modifiedclang/test/Sema/generic-selection.c
The file was modifiedclang/test/SemaObjC/rdr-6211479-array-property.m
The file was modifiedclang/test/SemaCXX/MicrosoftExtensions.cpp
The file was modifiedclang/test/SemaCXX/compare-cxx2a.cpp
The file was modifiedclang/test/AST/ast-dump-expr-json.c
The file was modifiedclang/test/SemaCXX/nullability.cpp
The file was modifiedclang/test/CXX/drs/dr177x.cpp
The file was modifiedclang/test/SemaCXX/new-delete.cpp
The file was modifiedclang/test/AST/pr47636.cpp
The file was modifiedclang/test/SemaCXX/constexpr-builtin-bit-cast.cpp
The file was modifiedclang/test/SemaCXX/typeid.cpp
The file was modifiedclang/test/Sema/compound-literal.c
The file was modifiedclang/test/Import/array-init-loop-expr/test.cpp
The file was modifiedclang/test/AST/ast-dump-file-line-json.c
The file was modifiedclang/test/Layout/aix-no-unique-address-with-double.cpp
The file was modifiedclang/test/SemaObjCXX/message.mm
The file was modifiedclang/test/SemaTemplate/instantiate-init.cpp
The file was modifiedclang/test/Sema/vla.cpp
The file was modifiedclang/test/Layout/aix-double-struct-member.cpp
The file was modifiedclang/test/CXX/basic/basic.types/p10.cpp
The file was modifiedclang/test/CXX/dcl.dcl/dcl.attr/dcl.align/p7.cpp
The file was modifiedclang/test/SemaCXX/flexible-array-test.cpp
The file was modifiedclang/test/Sema/array-init.c
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_reduction_messages.cpp
The file was modifiedclang/test/Layout/ms-x86-misalignedarray.cpp
The file was modifiedclang/test/SemaOpenCL/half.cl
The file was modifiedclang/test/SemaTemplate/temp_arg_nontype.cpp
The file was modifiedclang/test/AST/ast-dump-expr-json.m
The file was modifiedclang/test/Analysis/scopes-cfg-output.cpp
The file was modifiedclang/test/AST/atomic-expr.cpp
The file was modifiedclang/test/Sema/typedef-retain.c
The file was modifiedclang/test/Sema/gnu-flags.c
The file was modifiedclang/test/Sema/extern-redecl.c
The file was modifiedclang/test/CXX/dcl.decl/dcl.decomp/p2.cpp
The file was modifiedclang/test/AST/ast-dump-expr.cpp
The file was modifiedclang/test/AST/ast-dump-template-decls-json.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_messages.c
The file was modifiedclang/test/AST/ast-dump-records.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_firstprivate_messages.cpp
The file was modifiedclang/test/Sema/warn-sizeof-arrayarg.c
The file was modifiedclang/test/SemaTemplate/instantiate-static-var.cpp
The file was modifiedclang/test/Analysis/auto-obj-dtors-cfg-output.cpp
The file was modifiedclang/test/AST/ast-dump-stmt-json.cpp
The file was modifiedclang/test/SemaCXX/address-space-initialize.cpp
The file was modifiedclang/test/SemaObjC/ivar-sem-check-1.m
The file was modifiedclang/test/OpenMP/distribute_simd_lastprivate_messages.cpp
The file was modifiedclang/test/CodeGen/dump-struct-builtin.c
The file was modifiedclang/test/SemaObjC/nullability.m
The file was modifiedclang/test/SemaObjC/argument-checking.m
The file was modifiedclang/test/AST/float16.cpp
The file was modifiedclang/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p2-0x.cpp
The file was modifiedclang/test/SemaCXX/coroutines.cpp
The file was modifiedclang/test/SemaCXX/warn-string-conversion.cpp
The file was modifiedclang/test/ARCMT/cxx-checking.mm
The file was modifiedclang/test/CXX/temp/temp.param/p10-2a.cpp
The file was modifiedclang/test/SemaCXX/overload-member-call.cpp
The file was modifiedclang/test/SemaCXX/typedef-redecl.cpp
The file was modifiedclang/test/Sema/incomplete-decl.c
The file was modifiedclang/test/OpenMP/distribute_parallel_for_lastprivate_messages.cpp
The file was modifiedclang/test/Sema/merge-decls.c
The file was modifiedclang/test/CXX/expr/expr.prim/expr.prim.id/p4.cpp
The file was modifiedclang/test/SemaCXX/no-wchar.cpp
The file was modifiedclang/test/CodeGen/const-init.c
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
The file was modifiedclang/test/CXX/special/class.ctor/p5-0x.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx11.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_shared_messages.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_firstprivate_messages.cpp
The file was modifiedclang/test/Parser/atomic.c
The file was modifiedclang/test/Sema/nullability.c
The file was modifiedclang/test/SemaCXX/alias-template.cpp
The file was modifiedclang/test/CXX/dcl.decl/dcl.meaning/dcl.array/p3.cpp
The file was modifiedclang/test/CXX/expr/expr.prim/expr.prim.id/mixed-constraints.cpp
The file was modifiedclang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p13.cpp
The file was modifiedclang/test/AST/ast-dump-types-errors-json.cpp
The file was modifiedclang/test/PCH/objc_exprs.m
The file was modifiedclang/test/Analysis/lifetime-cfg-output.cpp
The file was modifiedclang/test/Sema/types.c
The file was modifiedclang/test/SemaCXX/exceptions.cpp
The file was modifiedclang/test/OpenMP/distribute_firstprivate_messages.cpp
The file was modifiedclang/test/CXX/expr/expr.prim/expr.prim.lambda/p4.cpp
The file was modifiedclang/test/SemaTemplate/instantiate-local-class.cpp
The file was modifiedclang/test/CXX/dcl.decl/dcl.init/dcl.init.list/p3.cpp
Commit 414abff1fe8ac3d5874f9b838cb59a3300b3e475 by a.bataev
[SLP]Fix PR52090: clang crashes: Assertion `Index < Length && "Invalid index!"' failed.

Need to check that either Idx is UndefMaskElem and value is UndefValue
or Idx is valid and value is the same as the scalar value in the node.

Differential Revision: https://reviews.llvm.org/D111802
The file was addedllvm/test/Transforms/SLPVectorizer/X86/crash_undef_mask_elem.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 50b68a3d030543daf97794d68682cc698964ca26 by jonathan.l.peyton
[OpenMP][host runtime] Add support for teams affinity

This patch implements teams affinity on the host.
The default is spread. A user can specify either spread, close, or
primary using KMP_TEAMS_PROC_BIND environment variable. Unlike
OMP_PROC_BIND, KMP_TEAMS_PROC_BIND is only a single value and is not a
list of values. The values follow the same semantics under the OpenMP
specification for parallel regions except T is the number of teams in
a league instead of the number of threads in a parallel region.

Differential Revision: https://reviews.llvm.org/D109921
The file was modifiedopenmp/runtime/src/kmp.h
The file was modifiedopenmp/runtime/test/affinity/libomp_test_topology.h
The file was modifiedopenmp/runtime/src/kmp_settings.cpp
The file was modifiedopenmp/runtime/src/kmp_runtime.cpp
The file was addedopenmp/runtime/test/affinity/teams-affinity.c
The file was modifiedopenmp/runtime/src/kmp_global.cpp
Commit 8e54f24f89c5c5e1d7ba4a4d2b99118272ac27ef by stellaraccident
Disable add_mlir_aggregate() debug file generation.

* Leaves it as a commented out area with a note on how to debug.
The file was modifiedmlir/cmake/modules/AddMLIR.cmake
Commit 1062f989af23c52a472892ff54a55557fca35528 by pklausler
[flang] Expunge bogus semantic check for ELEMENTAL without dummies

Semantics refuses valid ELEMENTAL subprograms without dummy arguments,
but there's no such constraint in the standard; indeed, subclause
15.8.2 discusses the meaning of calls to ELEMENTAL functions with
arguments.  Remove the check and its test.

Differential Revision: https://reviews.llvm.org/D111832
The file was modifiedflang/test/Semantics/elemental01.f90
The file was modifiedflang/lib/Semantics/check-declarations.cpp
Commit f9ad1d1c775a8e264bebc15d75e0c6e5c20eefc7 by dblaikie
Revert "Compress formatting of array type names (int [4] -> int[4])"

Looks like lldb has some issues with this - somehow it causes lldb to
treat a "char[N]" type as an array of chars (prints them out
individually) but a "char [N]" is printed as a string. (even though the
DWARF doesn't have this string in it - it's something to do with the
string lldb generates for itself using clang)

This reverts commit 277623f4d5a672d707390e2c3eaf30a9eb4b075c.
The file was modifiedclang/test/CXX/expr/expr.prim/expr.prim.id/p4.cpp
The file was modifiedclang/test/CXX/basic/basic.types/p10.cpp
The file was modifiedclang/test/SemaCXX/cxx0x-initializer-aggregates.cpp
The file was modifiedclang/test/SemaTemplate/instantiate-local-class.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_shared_messages.cpp
The file was modifiedclang/test/SemaCXX/exceptions.cpp
The file was modifiedclang/test/SemaCXX/no-wchar.cpp
The file was modifiedclang/test/SemaCXX/c99-variable-length-array.cpp
The file was modifiedclang/test/Sema/warn-sizeof-array-decay.c
The file was modifiedclang/test/SemaCXX/overload-member-call.cpp
The file was modifiedclang/test/SemaTemplate/pack-deduction.cpp
The file was modifiedclang/test/SemaCXX/static-assert-cxx17.cpp
The file was modifiedclang/test/Analysis/lifetime-cfg-output.cpp
The file was modifiedclang/test/SemaCXX/constexpr-builtin-bit-cast.cpp
The file was modifiedclang/test/Sema/incomplete-decl.c
The file was modifiedclang/test/Sema/merge-decls.c
The file was modifiedclang/test/OpenMP/distribute_simd_lastprivate_messages.cpp
The file was modifiedclang/test/Analysis/scopes-cfg-output.cpp
The file was modifiedclang/test/AST/ast-dump-stmt.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_reduction_messages.cpp
The file was modifiedclang/test/Layout/ms-x86-lazy-empty-nonvirtual-base.cpp
The file was modifiedclang/test/SemaTemplate/instantiate-init.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx11.cpp
The file was modifiedclang/test/CodeGen/const-init.c
The file was modifiedclang/test/AST/ast-dump-APValue-array.cpp
The file was modifiedclang/test/CXX/dcl.dcl/dcl.attr/dcl.align/p7.cpp
The file was modifiedclang/test/Layout/ms-x86-empty-layout.c
The file was modifiedclang/test/Analysis/more-dtors-cfg-output.cpp
The file was modifiedclang/test/SemaCXX/coroutines.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_messages.c
The file was modifiedclang/test/SemaCXX/for-range-examples.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx2a.cpp
The file was modifiedclang/test/CXX/special/class.ctor/p5-0x.cpp
The file was modifiedclang/test/Layout/aix-power-alignment-typedef.cpp
The file was modifiedclang/test/PCH/objc_exprs.m
The file was modifiedclang/test/Parser/atomic.c
The file was modifiedclang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/p1.cpp
The file was modifiedclang/test/Sema/vla.cpp
The file was modifiedclang/test/SemaCXX/dcl_init_aggr.cpp
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
The file was modifiedclang/test/OpenMP/distribute_firstprivate_messages.cpp
The file was modifiedclang/test/AST/ast-dump-openmp-begin-declare-variant_9.c
The file was modifiedclang/test/ASTMerge/var/test.c
The file was modifiedclang/test/SemaCXX/alias-template.cpp
The file was modifiedclang/test/Layout/ms-x86-empty-virtual-base.cpp
The file was modifiedclang/test/SemaCXX/nullability.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_lastprivate_messages.cpp
The file was modifiedclang/test/AST/ast-dump-records.c
The file was modifiedclang/test/Sema/types.c
The file was modifiedclang/test/Sema/c11-typedef-redef.c
The file was modifiedclang/test/Sema/array-init.c
The file was modifiedclang/test/AST/ast-dump-types-errors-json.cpp
The file was modifiedclang/test/CXX/temp/temp.arg/temp.arg.nontype/p1.cpp
The file was modifiedclang/test/Import/array-init-loop-expr/test.cpp
The file was modifiedclang/test/Index/print-type.c
The file was modifiedclang/test/Layout/aix-Wpacked-expecting-diagnostics.cpp
The file was modifiedclang/test/SemaCXX/constexpr-string.cpp
The file was modifiedclang/test/SemaCXX/cxx0x-type-convert-construct.cpp
The file was modifiedclang/test/CXX/dcl.decl/dcl.meaning/dcl.array/p3.cpp
The file was modifiedclang/test/AST/ast-dump-array.cpp
The file was modifiedclang/test/CXX/temp/temp.constr/temp.constr.constr/non-function-templates.cpp
The file was modifiedclang/test/Misc/integer-literal-printing.cpp
The file was modifiedclang/test/SemaCXX/attr-gnu.cpp
The file was modifiedclang/test/Layout/aix-double-struct-member.cpp
The file was modifiedclang/test/SemaObjC/rdr-6211479-array-property.m
The file was modifiedclang/test/SemaCXX/MicrosoftExtensions.cpp
The file was modifiedclang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p13.cpp
The file was modifiedclang/test/AST/ast-dump-APValue-arithmetic.cpp
The file was modifiedclang/test/AST/ast-dump-color.cpp
The file was modifiedclang/test/Index/print-type.cpp
The file was modifiedclang/test/SemaCXX/overload-call.cpp
The file was modifiedclang/test/SemaOpenCLCXX/address-space-deduction.clcpp
The file was modifiedclang/test/Analysis/auto-obj-dtors-cfg-output.cpp
The file was modifiedclang/test/Layout/ms-x86-basic-layout.cpp
The file was modifiedclang/test/SemaCXX/new-delete.cpp
The file was modifiedclang/test/SemaObjC/ivar-sem-check-1.m
The file was modifiedclang/test/AST/ast-dump-expr.cpp
The file was modifiedclang/test/Analysis/cfg.cpp
The file was modifiedclang/test/Layout/aix-no-unique-address-with-double.cpp
The file was modifiedclang/test/SemaObjC/argument-checking.m
The file was modifiedclang/test/Modules/odr_hash.cpp
The file was modifiedclang/test/AST/ast-dump-stmt-json.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_firstprivate_messages.cpp
The file was modifiedclang/test/AST/atomic-expr.cpp
The file was modifiedclang/test/SemaCXX/address-space-initialize.cpp
The file was modifiedclang/test/SemaTemplate/instantiate-static-var.cpp
The file was modifiedclang/test/AST/ast-dump-file-line-json.c
The file was modifiedclang/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p2-0x.cpp
The file was modifiedclang/test/Sema/generic-selection.c
The file was modifiedclang/test/SemaCXX/typeid.cpp
The file was modifiedclang/test/Layout/ms-aligned-array.c
The file was modifiedclang/test/ARCMT/cxx-checking.mm
The file was modifiedclang/test/CXX/drs/dr177x.cpp
The file was modifiedclang/test/SemaOpenCL/half.cl
The file was modifiedclang/test/AST/sourceranges.cpp
The file was modifiedclang/test/AST/ast-dump-expr-json.cpp
The file was modifiedclang/test/Sema/array-constraint.c
The file was modifiedclang/test/Sema/predef.c
The file was modifiedclang/test/Misc/diag-macro-backtrace2.c
The file was modifiedclang/test/Analysis/explain-svals.cpp
The file was modifiedclang/test/CXX/expr/expr.prim/expr.prim.lambda/p4.cpp
The file was modifiedclang/test/SemaCXX/array-bound-merge.cpp
The file was modifiedclang/test/AST/ast-dump-records.cpp
The file was modifiedclang/test/Sema/compound-literal.c
The file was modifiedclang/test/OpenMP/target_teams_distribute_firstprivate_messages.cpp
The file was modifiedclang/test/Sema/assign.c
The file was modifiedclang/test/SemaCXX/cxx1z-decomposition.cpp
The file was modifiedclang/test/SemaCXX/flexible-array-test.cpp
The file was modifiedclang/test/Modules/cxx-templates.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
The file was modifiedclang/test/CXX/special/class.copy/p23-cxx11.cpp
The file was modifiedclang/test/SemaTemplate/deduction-guide.cpp
The file was modifiedclang/test/AST/float16.cpp
The file was modifiedclang/test/Sema/warn-sizeof-arrayarg.c
The file was modifiedclang/test/Layout/ms-x86-pack-and-align.cpp
The file was modifiedclang/test/SemaObjCXX/message.mm
The file was modifiedclang/test/AST/pr47636.cpp
The file was modifiedclang/test/AST/ast-dump-templates.cpp
The file was modifiedclang/test/AST/ast-dump-expr-json.m
The file was modifiedclang/test/Sema/extern-redecl.c
The file was modifiedclang/test/SemaObjC/warn-write-strings.m
The file was modifiedclang/test/CXX/temp/temp.explicit/p8.cpp
The file was modifiedclang/test/Sema/warn-write-strings.c
The file was modifiedclang/test/SemaCXX/cxx2a-compat.cpp
The file was modifiedclang/test/SemaCXX/c99-variable-length-array-cxx11.cpp
The file was modifiedclang/test/CXX/dcl.decl/dcl.init/dcl.init.list/p3.cpp
The file was modifiedclang/test/AST/ast-dump-expr-json.c
The file was modifiedclang/test/CXX/temp/temp.param/p10-2a.cpp
The file was modifiedclang/test/Layout/ms-x86-empty-nonvirtual-bases.cpp
The file was modifiedclang/test/Sema/builtin-expect-with-probability.cpp
The file was modifiedclang/test/Sema/empty1.c
The file was modifiedclang/test/CXX/expr/expr.prim/expr.prim.id/mixed-constraints.cpp
The file was modifiedclang/test/Sema/var-redecl.c
The file was modifiedclang/test/Index/print-type-size.cpp
The file was modifiedclang/test/Sema/crash-invalid-array.c
The file was modifiedclang/test/SemaCXX/compare-cxx2a.cpp
The file was modifiedclang/test/Layout/no-unique-address.cpp
The file was modifiedclang/test/SemaObjC/flexible-array.m
The file was modifiedclang/test/SemaObjC/nullability.m
The file was modifiedclang/test/Analysis/malloc-sizeof.c
The file was modifiedclang/test/AST/ast-dump-records-json.cpp
The file was modifiedclang/test/Layout/ms-x86-misalignedarray.cpp
The file was modifiedclang/test/SemaObjC/method-bad-param.m
The file was modifiedclang/test/SemaCXX/decl-init-ref.cpp
The file was modifiedclang/test/CXX/dcl.decl/dcl.decomp/p2.cpp
The file was modifiedclang/test/CodeGen/dump-struct-builtin.c
The file was modifiedclang/test/OpenMP/distribute_parallel_for_reduction_messages.cpp
The file was modifiedclang/test/SemaCXX/typedef-redecl.cpp
The file was modifiedclang/test/SemaOpenCL/invalid-kernel-parameters.cl
The file was modifiedclang/test/AST/ast-dump-expr.c
The file was modifiedclang/test/Sema/gnu-flags.c
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_firstprivate_messages.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
The file was modifiedclang/test/AST/ast-dump-template-decls-json.cpp
The file was modifiedclang/test/Layout/watchos-standard-layout.cpp
The file was modifiedclang/test/Sema/nullability.c
The file was modifiedclang/test/Sema/builtin-expect-with-probability-avr.cpp
The file was modifiedclang/test/SemaOpenCL/predefined-expr.cl
The file was modifiedclang/test/Sema/typedef-retain.c
The file was modifiedclang/test/SemaTemplate/temp_arg_nontype.cpp
The file was modifiedclang/test/CXX/temp/temp.decls/temp.variadic/p2.cpp
The file was modifiedclang/test/SemaCXX/warn-string-conversion.cpp
The file was modifiedclang/test/Sema/matrix-type-builtins.c
Commit b840d3ab0d8a1953fe7d39a87970260088b9ac41 by jonathan.l.peyton
[OpenMP][host runtime] small fixup of RTM CPUID bit check
The file was modifiedopenmp/runtime/src/kmp_utility.cpp
Commit acb3b187c4c88650a6a717a1bcb234d27d0d7f54 by jonathan.l.peyton
[OpenMP][host runtime] Add initial hybrid CPU support

Detect, through CPUID.1A, and show user different core types through
KMP_AFFINITY=verbose mechanism. Offer future runtime optimizations
__kmp_is_hybrid_cpu() to know whether running on a hybrid system or not.

Differential Revision: https://reviews.llvm.org/D110435
The file was modifiedopenmp/runtime/src/i18n/en_US.txt
The file was modifiedopenmp/runtime/src/kmp_affinity.cpp
The file was modifiedopenmp/runtime/src/kmp_affinity.h
The file was modifiedopenmp/runtime/src/kmp.h
The file was modifiedopenmp/runtime/src/kmp_utility.cpp
Commit 039096ee7137ac64ae8c02880b3cf9da84bb01ad by eugenis
[hwasan] Add default "/" prefix.

Add a default "/" prefix to the symbol search path in the
symbolization script. Without this, the binary itself is not considered
a valid source of symbol info.

Differential Revision: https://reviews.llvm.org/D111840
The file was modifiedcompiler-rt/lib/hwasan/scripts/hwasan_symbolize
Commit 7a3fb71c3cbdd80666335fa8f6f071b43f0b922a by eugenis
[hwasan] Fix TestCases/thread-uaf.c.

On newer glibc, this test detects an extra match somewhere under
pthread_getattr_np. This results in Thread: lines getting spread out in
the report and failing to match the CHECKs.

Fix the CHECKs to allow this possibility.

Reviewed By: fmayer

Differential Revision: https://reviews.llvm.org/D111841
The file was modifiedcompiler-rt/test/hwasan/TestCases/thread-uaf.c
Commit 439e00a25bde9df851c6f25e356f11f83e884c2f by eugenis
[scudo] Fix running tests under hwasan.

When built with hwasan, assume that the target architecture does not
support TBI. HWASan uses that byte for its own purpose, and changing it
breaks things.

Reviewed By: hctim

Differential Revision: https://reviews.llvm.org/D111842
The file was modifiedcompiler-rt/lib/scudo/standalone/memtag.h
Commit 675ed4c82df6bb53536270d900843a985ef9036e by aeubanks
[NFC][Interpreter] Remove unused CompilerInvocation
The file was modifiedclang/lib/Interpreter/Interpreter.cpp
Commit 6965a776ee192cb4c1a2618c270254fbf70879df by pklausler
[flang] Fold LGE/LGT/LLE/LLT intrinsic functions

Fold the legacy intrinsic functions LGE, LGT, LLE, & LLT
by rewriting them into character relational expressions and
then folding those.  Also fix folding of comparisons of
character values of distinct lengths: the shorter value must
be padded with blanks.  (This fix exposed some bad test cases,
which are also fixed.)

Differential Revision: https://reviews.llvm.org/D111843
The file was modifiedflang/lib/Semantics/runtime-type-info.cpp
The file was modifiedflang/lib/Semantics/data-to-inits.cpp
The file was modifiedflang/test/Evaluate/folding05.f90
The file was addedflang/test/Evaluate/fold-char-cmp.f90
The file was modifiedflang/lib/Semantics/check-io.h
The file was modifiedflang/lib/Evaluate/fold-logical.cpp
The file was modifiedflang/include/flang/Evaluate/type.h
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was modifiedflang/include/flang/Evaluate/common.h
The file was modifiedflang/test/Evaluate/folding01.f90
Commit 65c9907c809a275e57bd925d1eda5a743a462d20 by jpienaar
[mlir][ods] Enable emitting getter/setter prefix

Allow emitting get & set prefix for accessors generated for ops. If
enabled, then the argument/return/region name gets converted from
snake_case to UpperCamel and prefix added. The attribute also allows
generating both the current "raw" method along with the prefix'd one to
make it easier to stage changes.

The option is added on the dialect and currently defaults to existing
raw behavior. The expectation is that the staging where both are
generated would be short lived and so optimized to keeping the changes
local/less invasive (it just generates two functions for each accessor
with the same body - most of these internally again call a helper
function). But generation can be optimized if needed.

I'm unsure about OpAdaptor classes as there it is all get methods (it is
a named view into raw data structures), so prefix doesn't add much.

This starts with emitting raw-only form (as current behavior) as
default, then one can opt-in to raw & prefixed, then just prefixed. The
default in OpBase will switch to prefixed-only to be consistent with
MLIR style guide. And the option potentially removed later (considered
enabling specifying prefix but current discussion more pro keeping it
limited and stuck with that).

Also add more explicit checking for pruned functions to avoid emitting
where no function was added (and so avoiding dereferencing nullptr)
during op def/decl generation.

See https://bugs.llvm.org/show_bug.cgi?id=51916 for further discussion.

Differential Revision: https://reviews.llvm.org/D111033
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/lib/TableGen/Dialect.cpp
The file was modifiedmlir/test/mlir-tblgen/op-attribute.td
The file was modifiedmlir/include/mlir/TableGen/Dialect.h
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
Commit 0fcda9ae5757dc48f3b7ee668e4a59c5749447e7 by pklausler
[flang] Admit NULL() in generic procedure resolution cases

Semantics is rejecting valid programs with NULL() actual arguments
to generic interfaces, including user-defined operators.  Subclause
16.9.144(para 6) makes clear that NULL() can be a valid actual
argument to a generic interface so long as it does not produce
ambiguity.  This patch handles those cases, revises existing
tests, and adjust an error message about NULL() operands to
appear less like a blanket prohibition.

Differential Revision: https://reviews.llvm.org/D111850
The file was modifiedflang/lib/Semantics/check-declarations.cpp
The file was modifiedflang/include/flang/Evaluate/tools.h
The file was modifiedflang/lib/Evaluate/tools.cpp
The file was modifiedflang/lib/Semantics/expression.cpp
The file was modifiedflang/include/flang/Semantics/expression.h
The file was modifiedflang/test/Semantics/resolve63.f90
Commit db8a88fef87e921c331c71503f73a76337c121c9 by michaelrj
[libc] add memccpy and mempcpy

Add an implementation for memccpy and mempcpy. These functions are
posix extensions for the moment.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D111762
The file was addedlibc/src/string/mempcpy.h
The file was modifiedlibc/src/string/CMakeLists.txt
The file was modifiedlibc/config/linux/x86_64/entrypoints.txt
The file was addedlibc/test/src/string/mempcpy_test.cpp
The file was addedlibc/src/string/memccpy.h
The file was addedlibc/src/string/mempcpy.cpp
The file was modifiedlibc/spec/posix.td
The file was addedlibc/test/src/string/memccpy_test.cpp
The file was addedlibc/src/string/memccpy.cpp
The file was modifiedlibc/test/src/string/CMakeLists.txt
Commit 1274a07da0099048388c5949457480614a2bed8c by Vitaly Buka
[NFC][asan] Use more common socket type in test
The file was modifiedcompiler-rt/test/asan/TestCases/Posix/ioctl.cpp
Commit 882ce178b317c565f14b0de05a2c9ee39fe78a83 by Vitaly Buka
[NFC][sanitizer] Remove %stdcxx11

-std=c++14 is a default for a while.

Reviewed By: kstoimenov

Differential Revision: https://reviews.llvm.org/D111848
The file was modifiedcompiler-rt/test/asan/TestCases/use-after-scope-types.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/exitcode.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/use-after-scope-temp.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/use-after-scope-temp2.cpp
The file was modifiedcompiler-rt/test/asan/lit.cfg.py
The file was modifiedcompiler-rt/test/memprof/lit.cfg.py
The file was modifiedcompiler-rt/test/asan/TestCases/use-after-scope-capture.cpp