FailedChanges

Summary

  1. Implement __isOSVersionAtLeast for Android (details)
  2. [libc] remove useless headers (details)
  3. [SLPVectorizer][SVE] Skip scalable-vector instructions before vectorizeSimpleInstructions. (details)
  4. [libc] use stddef instead of string header (details)
  5. Sema: add support for `__attribute__((__swift_bridged_typedef__))` (details)
  6. [libc] Remove special case for 8 and 16 bytes (details)
Commit 516a01b5f36d4188778a34202cd11856d70ac808 by srhines
Implement __isOSVersionAtLeast for Android

Add the implementation of __isOSVersionAtLeast for Android. Currently,
only the major version is checked against the API level of the platform
which is an integer. The API level is retrieved by reading the system
property ro.build.version.sdk (and optionally ro.build.version.codename
to see if the platform is released or not).

Patch by jiyong@google.com

Bug: 150860940
Bug: 134795810
Test: m

Reviewed By: srhines

Differential Revision: https://reviews.llvm.org/D86596
The file was modifiedcompiler-rt/lib/builtins/os_version_check.c (diff)
Commit 00ba1a3de7faad80f7bb75d07a1a5da09a009895 by gchatelet
[libc] remove useless headers
The file was modifiedlibc/src/string/memcpy.h (diff)
The file was modifiedlibc/src/string/memset.h (diff)
Commit 3b7f5166bd11fc6cbf96597d26753e8c3fc0e6ab by huihuiz
[SLPVectorizer][SVE] Skip scalable-vector instructions before vectorizeSimpleInstructions.

For scalable type, the aggregated size is unknown at compile-time.
Skip instructions with scalable type to ensure the list of instructions
for vectorizeSimpleInstructions does not contains any scalable-vector instructions.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D87550
The file was addedllvm/test/Transforms/SLPVectorizer/AArch64/insertelement.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp (diff)
Commit c19fda9aa073254c0979301bd57d875608329fa2 by gchatelet
[libc] use stddef instead of string header
The file was modifiedlibc/src/string/bzero.h (diff)
Commit 7d26d6a1b062f7ce820b02b39d102d5f8f15fa5f by Saleem Abdulrasool
Sema: add support for `__attribute__((__swift_bridged_typedef__))`

Extend the semantic attributes that clang processes for Swift to include
`swift_bridged_typedef`.  This attribute enables typedefs to be bridged
into Swift with a bridged name.

This is based on the work of the original changes in
https://github.com/llvm/llvm-project-staging/commit/8afaf3aad2af43cfedca7a24cd817848c4e95c0c

Differential Revision: https://reviews.llvm.org/D87396
Reviewed By: Aaron Ballman
The file was modifiedclang/include/clang/Basic/Attr.td (diff)
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp (diff)
The file was addedclang/test/SemaObjC/attr-swift_bridged_typedef.m
The file was addedclang/test/AST/attr-swift_bridged_typedef.m
The file was addedclang/test/AST/attr-swift_bridged_typedef.mm
The file was modifiedclang/include/clang/Basic/AttrDocs.td (diff)
The file was modifiedclang/test/Misc/pragma-attribute-supported-attributes-list.test (diff)
Commit c3fd2a50ba1395b6c2240f6a688c6a1aa975a1fe by gchatelet
[libc] Remove special case for 8 and 16 bytes

They don't seem to gain much in real apps and its better to favor less branches and smaller code.
The file was modifiedlibc/src/string/memcpy.cpp (diff)
The file was modifiedlibc/src/string/x86/memcpy.cpp (diff)