Revert "Re-commit r357452: SimplifyCFG SinkCommonCodeFromPredecessors: Also sink...
authorJordan Rupprecht <rupprecht@google.com>
Mon, 6 May 2019 21:55:05 +0000 (21:55 +0000)
committerJordan Rupprecht <rupprecht@google.com>
Mon, 6 May 2019 21:55:05 +0000 (21:55 +0000)
commit8f14e7cacfb0595da1ff5b1ca79cb83e626f8a5a
treedc20f92bbc8d2e57102d663c98e926d340a45341
parentd10a200cebe540d5fdfc0d50aad05661b906f264
Revert "Re-commit r357452: SimplifyCFG SinkCommonCodeFromPredecessors: Also sink function calls without used results (PR41259)"

This reverts r357452 (git commit 21eb771dcb5c11d7500fa6ad551c97a921997f05).

This was causing strange optimization-related test failures on an internal test. Will followup with more details offline.

llvm-svn: 360086
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