diff options
author | Samuel Antao <sfantao@us.ibm.com> | 2016-03-14 15:57:41 +0000 |
---|---|---|
committer | Samuel Antao <sfantao@us.ibm.com> | 2016-03-14 15:57:41 +0000 |
commit | aeb7b539f59cc9dd4e1a28c4cf841d19ba75e5a9 (patch) | |
tree | 35f35a990523e5bee50bc0f8ceb7b345fcd68829 /clang/test/OpenMP/target_messages.cpp | |
parent | ed2213e6efc1cc71a323f49585e859d6e41853ed (diff) | |
download | bcm5719-llvm-aeb7b539f59cc9dd4e1a28c4cf841d19ba75e5a9.tar.gz bcm5719-llvm-aeb7b539f59cc9dd4e1a28c4cf841d19ba75e5a9.zip |
[OpenMP] Replace offloading option that start with -o with -fo.
Summary:
The current offloading implementation is using -omptargets and -omp-host-ir-file-path options in the frontend. This causes the user a lot of trouble due to to the conflicts with the -o option. E.g. if the user misspells omptargets he will end up with a file with a weird name.
This patches replaces these two options with -fomptargets and -fomp-host-ir-file-path to avoid these issues, and it is also more consistent with the other options like -fopenmp.
Reviewers: hfinkel, carlo.bertolli, arpith-jacob, kkwli0, ABataev
Subscribers: cfe-commits, caomhin, fraggamuffin
Differential Revision: http://reviews.llvm.org/D18112
llvm-svn: 263442
Diffstat (limited to 'clang/test/OpenMP/target_messages.cpp')
-rw-r--r-- | clang/test/OpenMP/target_messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/OpenMP/target_messages.cpp b/clang/test/OpenMP/target_messages.cpp index 6e697416a81..0b934912bb9 100644 --- a/clang/test/OpenMP/target_messages.cpp +++ b/clang/test/OpenMP/target_messages.cpp @@ -1,5 +1,5 @@ // RUN: %clang_cc1 -verify -fopenmp -std=c++11 -o - %s -// RUN: not %clang_cc1 -fopenmp -std=c++11 -omptargets=aaa-bbb-ccc-ddd -o - %s 2>&1 | FileCheck %s +// RUN: not %clang_cc1 -fopenmp -std=c++11 -fomptargets=aaa-bbb-ccc-ddd -o - %s 2>&1 | FileCheck %s // CHECK: error: OpenMP target is invalid: 'aaa-bbb-ccc-ddd' // RUN: not %clang_cc1 -fopenmp -std=c++11 -triple nvptx64-nvidia-cuda -o - %s 2>&1 | FileCheck --check-prefix CHECK-UNSUPPORTED-HOST-TARGET %s // RUN: not %clang_cc1 -fopenmp -std=c++11 -triple nvptx-nvidia-cuda -o - %s 2>&1 | FileCheck --check-prefix CHECK-UNSUPPORTED-HOST-TARGET %s |