Revert "GlobalISel/AArch64: don't optimize away redundant branches at -O0"
authorMuhammad Omair Javaid <omair.javaid@linaro.org>
Fri, 9 Jul 2021 03:11:08 +0000 (08:11 +0500)
committerMuhammad Omair Javaid <omair.javaid@linaro.org>
Fri, 9 Jul 2021 03:23:36 +0000 (08:23 +0500)
commit932e3d9960c115d0f6a92b6b4c9529892ade8d32
treea04ca7d0b9ee4fc98c7cb3c15dabbc9f74ec8ebd
parent2e194dec6076d06ccb40f50a1718e2250255a3dc
Revert "GlobalISel/AArch64: don't optimize away redundant branches at -O0"

This reverts commit 458c230b5ef893238d2471fcff27cd275e8026d5.

This broke LLDB buildbot testcase where breakpoint set at start of loop
failed to hit. https://lab.llvm.org/buildbot/#/builders/96/builds/9404

https://github.com/llvm/llvm-project/blob/main/lldb/test/API/commands/process/attach/main.cpp#L15

Differential Revision: https://reviews.llvm.org/D105238
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/arm64-atomic.ll
llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
llvm/test/CodeGen/AArch64/unwind-preserved.ll
llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/jump_table_and_brjt.ll
llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/long_ambiguous_chain_s32.ll
llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/long_ambiguous_chain_s64.ll
llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/phi.ll
llvm/test/DebugInfo/AArch64/fallthrough-branch.ll [deleted file]