Mercurial > hg > CbC > CbC_llvm
comparison clang/test/Driver/mips-indirect-branch.c @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 (2020-02-13) |
parents | |
children | 1f2b6ac9f198 |
comparison
equal
deleted
inserted
replaced
147:c2174574ed3a | 150:1d019706d866 |
---|---|
1 // REQUIRES: mips-registered-target | |
2 // -mindirect-jump=hazard -mips32 | |
3 // RUN: %clang -target mips-unknown-linux-gnu -mips32 -### -c %s \ | |
4 // RUN: -mindirect-jump=hazard 2>&1 | FileCheck %s --check-prefix=MIPS32 | |
5 // MIPS32: error: '-mindirect-jump=hazard' is unsupported with the 'mips32' architecture | |
6 | |
7 // -mindirect-jump=hazard -mmicromips | |
8 // RUN: %clang -target mips-unknown-linux-gnu -mmicromips -### -c %s \ | |
9 // RUN: -mindirect-jump=hazard 2>&1 | FileCheck %s --check-prefix=MICROMIPS | |
10 // MICROMIPS: error: '-mindirect-jump=hazard' is unsupported with the 'micromips' architecture | |
11 | |
12 // -mindirect-jump=hazard -mips16 | |
13 // RUN: %clang -target mips-unknown-linux-gnu -mips16 -### -c %s \ | |
14 // RUN: -mindirect-jump=hazard 2>&1 | FileCheck %s --check-prefix=MIPS16 | |
15 // MIPS16: error: '-mindirect-jump=hazard' is unsupported with the 'mips16' architecture | |
16 | |
17 // RUN: %clang -target mips-unknown-linux-gnu -### -c %s \ | |
18 // RUN: -mindirect-jump=retopline 2>&1 | FileCheck %s --check-prefix=RETOPLINE | |
19 // RETOPLINE: error: unknown '-mindirect-jump=' option 'retopline' | |
20 | |
21 // RUN: %clang -target mips-unknown-linux-gnu -### -mips32 -c %s \ | |
22 // RUN: -mindirect-jump=retopline 2>&1 | FileCheck %s --check-prefix=MIXED | |
23 // MIXED: error: unknown '-mindirect-jump=' option 'retopline' |