Revert "[ARM][TypePromotion] Enable by default"
authorReid Kleckner <rnk@google.com>
Sun, 22 Dec 2019 19:17:23 +0000 (11:17 -0800)
committerReid Kleckner <rnk@google.com>
Sun, 22 Dec 2019 19:27:11 +0000 (11:27 -0800)
commitb2c1ba5b1f8049cdacec1a111c2ef267cd5acff5
treed51d401a9e62eee614338dd09a7392bfe6f18a7b
parenta4aa40cebc9b4a1d8a7dafddd65d99c4fd53ebec
Revert "[ARM][TypePromotion] Enable by default"

This reverts commit ee7579409b7d940c4e1314d126e900db30c4edff.

It causes crashes during ThinLTO. I suspect the issue is related to
races on the global TypeSize variable, which is 80 at the time of the
crash.
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