1 # RUN: llc -mtriple=riscv32 -o - -run-pass=none -verify-machineinstrs %s | FileCheck %s
2 # REQUIRES: riscv-registered-target
4 # This test checks that the G_BRINDIRECT is an indirect branch by leveraging
5 # RISCV's version of analyzeBranch. If G_BRINDIRECT would not be an indirect
6 # branch, this test would crash.
9 name: test_indirect_branch
11 tracksRegLiveness: true
17 ; CHECK-NOT: Branch instruction is missing a basic block operand or isIndirectBranch property