Functions of branch analysis firstly introduced in
https://reviews.llvm.org/D40808, This patch add more tests in
analyze-branch.ll which have zero-comparison instruction,
in this case beqz, because this instruction has one less operand
than previously tested.
Signed-off-by: YingChi Long <me@inclyc.cn>
In previous versions, the name of this function seemed to be derived from the test file of AAarch64 (see https://github.com/llvm/llvm-project/blob/main/llvm/test/CodeGen/AArch64/analyze-branch.ll). In order to make the meaning of this test file more concise and understandable, I changed this to beq.