Revert 393dacacf7e7 "[ARM] Enable TypePromotion by default"
authorHans Wennborg <hans@chromium.org>
Mon, 9 Dec 2019 08:39:31 +0000 (09:39 +0100)
committerHans Wennborg <hans@chromium.org>
Mon, 9 Dec 2019 08:39:31 +0000 (09:39 +0100)
commita38396939c548f9ad8e94c9baa7198fdb26dedc2
tree5b6bc79307a3189c8f4019368b19f9fce06a9ec1
parentcafc7416baf7eecef8ecaf05802f2f7c0da725c0
Revert 393dacacf7e7 "[ARM] Enable TypePromotion by default"

This caused "Too many bits for uint64_t" asserts when building Chromium. See
https://crbug.com/1031978#c2 for a reproducer. I'll follow up on the
llvm-commits thread with a creduced version.

> ARMCodeGenPrepare has already been generalized and renamed to
> TypePromotion. We've had it enabled and tested downstream for a
> while, so enable it by default.
>
> Differential Revision: https://reviews.llvm.org/D70998
llvm/lib/CodeGen/TypePromotion.cpp
llvm/test/Transforms/TypePromotion/ARM/calls.ll
llvm/test/Transforms/TypePromotion/ARM/casts.ll
llvm/test/Transforms/TypePromotion/ARM/clear-structures.ll
llvm/test/Transforms/TypePromotion/ARM/icmps.ll
llvm/test/Transforms/TypePromotion/ARM/phis-ret.ll
llvm/test/Transforms/TypePromotion/ARM/pointers.ll
llvm/test/Transforms/TypePromotion/ARM/signed-icmps.ll
llvm/test/Transforms/TypePromotion/ARM/signed.ll
llvm/test/Transforms/TypePromotion/ARM/switch.ll
llvm/test/Transforms/TypePromotion/ARM/wrapping.ll