OSDN Git Service

Revert r363658 "[SVE][IR] Scalable Vector IR Type with pr42210 fix"
authorHans Wennborg <hans@hanshq.net>
Thu, 27 Jun 2019 13:55:02 +0000 (13:55 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 27 Jun 2019 13:55:02 +0000 (13:55 +0000)
commita1a5ec67ecb214a0bfd731fd04c26f267d7b377a
tree967468d6b9e5097265f74d2533d7f7b6d25484c1
parent192906bcfde8c1476bb6371e6d0d2411bdf73219
Revert r363658 "[SVE][IR] Scalable Vector IR Type with pr42210 fix"

We saw a 70% ThinLTO link time increase in Chromium for Android, see
crbug.com/978817. Sounds like more of PR42210.

> Recommit of D32530 with a few small changes:
>   - Stopped recursively walking through aggregates in
>     the verifier, so that we don't impose too much
>     overhead on large modules under LTO (see PR42210).
>   - Changed tests to match; the errors are slightly
>     different since they only report the array or
>     struct that actually contains a scalable vector,
>     rather than all aggregates which contain one in
>     a nested member.
>   - Corrected an older comment
>
> Reviewers: thakis, rengolin, sdesmalen
>
> Reviewed By: sdesmalen
>
> Differential Revision: https://reviews.llvm.org/D63321

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364543 91177308-0d34-0410-b5e6-96231b3b80d8
19 files changed:
docs/LangRef.rst
include/llvm/ADT/DenseMapInfo.h
include/llvm/IR/DerivedTypes.h
include/llvm/IR/Type.h
include/llvm/Support/ScalableSize.h [deleted file]
lib/AsmParser/LLLexer.cpp
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLToken.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/IR/AsmWriter.cpp
lib/IR/LLVMContextImpl.h
lib/IR/Type.cpp
lib/IR/Verifier.cpp
test/Bitcode/compatibility.ll
test/Verifier/scalable-aggregates.ll [deleted file]
test/Verifier/scalable-global-vars.ll [deleted file]
unittests/IR/CMakeLists.txt
unittests/IR/VectorTypesTest.cpp [deleted file]