diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2018-06-27 19:14:32 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2018-06-27 19:14:32 +0000 |
commit | 1f031ccac56820467eff9b6d620dffca78ce122c (patch) | |
tree | fa419d82e3c7c32ffb029497374895bfe483b392 /test/Driver/mips-features.c | |
parent | 5c8694c6ce76fdf2c8630f569e375cf343894dab (diff) |
Notes
Diffstat (limited to 'test/Driver/mips-features.c')
-rw-r--r-- | test/Driver/mips-features.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Driver/mips-features.c b/test/Driver/mips-features.c index a9db0f1017009..d9bde7ded6f07 100644 --- a/test/Driver/mips-features.c +++ b/test/Driver/mips-features.c @@ -402,3 +402,9 @@ // RUN: %clang -target -mips-mti-linux-gnu -### -c %s -mno-branch-likely 2>&1 \ // RUN: | FileCheck --check-prefix=NO-BRANCH-LIKELY %s // NO-BRANCH-LIKELY: argument unused during compilation: '-mno-branch-likely' + +// -mindirect-jump=hazard +// RUN: %clang -target mips-unknown-linux-gnu -### -c %s \ +// RUN: -mindirect-jump=hazard 2>&1 \ +// RUN: | FileCheck --check-prefix=INDIRECT-BH %s +// INDIRECT-BH: "-target-feature" "+use-indirect-jump-hazard" |