diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2013-04-14 14:07:51 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2013-04-14 14:07:51 +0000 |
commit | 321ae79aae228aa069795e78449a95fa35e2abfd (patch) | |
tree | aa86070c2b9f7dad716972674a856346bb444eda /test/Driver | |
parent | a8141614514634c7bd0ee4bc96e19fb3c10f72f2 (diff) |
[Mips] Support -mmicromips / -mno-micromips command line options.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179489 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver')
-rw-r--r-- | test/Driver/mips-features.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Driver/mips-features.c b/test/Driver/mips-features.c index 3bebffc11b..3f4730b863 100644 --- a/test/Driver/mips-features.c +++ b/test/Driver/mips-features.c @@ -14,6 +14,18 @@ // RUN: | FileCheck --check-prefix=CHECK-NOMIPS16 %s // CHECK-NOMIPS16: "-target-feature" "-mips16" // +// -mmicromips +// RUN: %clang -target mips-linux-gnu -### -c %s \ +// RUN: -mno-micromips -mmicromips 2>&1 \ +// RUN: | FileCheck --check-prefix=CHECK-MICROMIPS %s +// CHECK-MICROMIPS: "-target-feature" "+micromips" +// +// -mno-micromips +// RUN: %clang -target mips-linux-gnu -### -c %s \ +// RUN: -mmicromips -mno-micromips 2>&1 \ +// RUN: | FileCheck --check-prefix=CHECK-NOMICROMIPS %s +// CHECK-NOMICROMIPS: "-target-feature" "-micromips" +// // -mdsp // RUN: %clang -target mips-linux-gnu -### -c %s \ // RUN: -mno-dsp -mdsp 2>&1 \ |