diff options
Diffstat (limited to 'test/CodeGen/Mips/indirect-jump-hazard/unsupported-mips32.ll')
-rw-r--r-- | test/CodeGen/Mips/indirect-jump-hazard/unsupported-mips32.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/indirect-jump-hazard/unsupported-mips32.ll b/test/CodeGen/Mips/indirect-jump-hazard/unsupported-mips32.ll new file mode 100644 index 000000000000..48baedf53eaa --- /dev/null +++ b/test/CodeGen/Mips/indirect-jump-hazard/unsupported-mips32.ll @@ -0,0 +1,5 @@ +; RUN: not llc -mtriple=mips-unknown-linux -mcpu=mips32 -mattr=+use-indirect-jump-hazard %s 2>&1 | FileCheck %s + +; Test that mips32 and indirect jump with hazard barriers is not supported. + +; CHECK: LLVM ERROR: indirect jumps with hazard barriers requires MIPS32R2 or later |