Revert r357452 - 'SimplifyCFG SinkCommonCodeFromPredecessors: Also sink function...
authorDavid L. Jones <dlj@google.com>
Thu, 4 Apr 2019 02:27:57 +0000 (02:27 +0000)
committerDavid L. Jones <dlj@google.com>
Thu, 4 Apr 2019 02:27:57 +0000 (02:27 +0000)
commit8b8a02175a46dfb27f96b7710cfe897fe28a68da
tree305d6599b393a901471f2f1f76b6219c938e904c
parent3afc733e41a6fd12eaaad6626fef6a021bf70de6
Revert r357452 - 'SimplifyCFG SinkCommonCodeFromPredecessors: Also sink function calls without used results (PR41259)'

This revision causes tests to fail under ASAN. Since the cause of the failures
is not clear (could be ASAN, could be a Clang bug, could be a bug in this
revision), the safest course of action seems to be to revert while investigating.

llvm-svn: 357667
clang/test/CodeGenCXX/nrvo.cpp
clang/test/CodeGenCXX/stack-reuse-exceptions.cpp
clang/test/CodeGenObjC/exceptions.m
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/CodeGen/AArch64/max-jump-table.ll
llvm/test/CodeGen/AArch64/min-jump-table.ll
llvm/test/CodeGen/AArch64/win64-jumptable.ll
llvm/test/CodeGen/ARM/cmpxchg-idioms.ll
llvm/test/Transforms/SimplifyCFG/sink-common-code.ll