aboutsummaryrefslogtreecommitdiff
path: root/openmp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2022-07-20 10:17:35 -0400
committerJoseph Huber <jhuber6@vols.utk.edu>2022-07-20 10:18:55 -0400
commit6b0db92bbd507a9aeb05728ef24cdd992b648cc0 (patch)
treef32429f14cfb54556902adda1223d6adfdbaabf3 /openmp
parentbd519b9335fe507bc2d2ebbbd3321ba046f038a3 (diff)
downloadllvm-6b0db92bbd507a9aeb05728ef24cdd992b648cc0.zip
llvm-6b0db92bbd507a9aeb05728ef24cdd992b648cc0.tar.gz
llvm-6b0db92bbd507a9aeb05728ef24cdd992b648cc0.tar.bz2
[Libomptarget] Fix LTO command line in test
Summary: The test passed -offload-lto instead of -foffload-lto.
Diffstat (limited to 'openmp')
-rw-r--r--openmp/libomptarget/test/lit.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/libomptarget/test/lit.cfg b/openmp/libomptarget/test/lit.cfg
index 1b4aff4..e1d8e79 100644
--- a/openmp/libomptarget/test/lit.cfg
+++ b/openmp/libomptarget/test/lit.cfg
@@ -107,7 +107,7 @@ else: # Unices
if config.libomptarget_current_target.endswith('-oldDriver'):
config.test_flags += " -fno-openmp-new-driver"
if config.libomptarget_current_target.endswith('-LTO'):
- config.test_flags += " -offload-lto"
+ config.test_flags += " -foffload-lto"
def remove_suffix_if_present(name):
if name.endswith('-oldDriver'):