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