Revert "[SimplifyCFG] Check if the return instruction causes undefined behavior"
authorVitaly Buka <vitalybuka@google.com>
Sat, 18 Feb 2023 20:21:10 +0000 (12:21 -0800)
committerVitaly Buka <vitalybuka@google.com>
Sat, 18 Feb 2023 20:21:10 +0000 (12:21 -0800)
commitc23f29d6f05b1fe4fa2dd50cbb78ee2b30e0de4d
tree5e50ed2df6da1c997d373854ff9038485e5b8c9a
parent8e3dc1366fb8365c4beb394ef2d34f1c639e8064
Revert "[SimplifyCFG] Check if the return instruction causes undefined behavior"

Breaks bots
https://lab.llvm.org/buildbot/#/builders/236/builds/2349
https://lab.llvm.org/buildbot/#/builders/74/builds/17361
https://lab.llvm.org/buildbot/#/builders/168/builds/11972

This reverts commit 7be55b007698f6b6398cbbea69c327b5a971938a.
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/test/Transforms/SimplifyCFG/unreachable-eliminate-on-ret.ll [deleted file]