diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2020-10-05 12:34:39 -0400 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2020-10-05 12:35:39 -0400 |
commit | 1dce692de1896412693f25a3afb4818883a611e7 (patch) | |
tree | b05b3a058925451c4e72a92bc5c3fd46a4749cfe /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9642ded8ba64590aca2720e4c124368d8e98cc8d (diff) | |
download | llvm-1dce692de1896412693f25a3afb4818883a611e7.zip llvm-1dce692de1896412693f25a3afb4818883a611e7.tar.gz llvm-1dce692de1896412693f25a3afb4818883a611e7.tar.bz2 |
Revert "[OpenMP] Add Error Handling for Conflicting Pointer Sizes for Target Offload"
Reverting because detecting architecture size doesn't work on all
platforms.
This reverts commit eaf73293cb6b8d45dd85ffced57aea7ad4177754.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index bbdf0e3..b402f53 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -3206,14 +3206,6 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK, TT.getArch() == llvm::Triple::x86 || TT.getArch() == llvm::Triple::x86_64)) Diags.Report(diag::err_drv_invalid_omp_target) << A->getValue(i); - else if ((T.isArch64Bit() && TT.isArch32Bit()) || - (T.isArch64Bit() && TT.isArch16Bit()) || - (T.isArch32Bit() && TT.isArch64Bit()) || - (T.isArch32Bit() && TT.isArch16Bit()) || - (T.isArch16Bit() && TT.isArch32Bit()) || - (T.isArch16Bit() && TT.isArch64Bit())) - Diags.Report(diag::err_drv_incompatible_omp_arch) - << A->getValue(i) << T.str(); else Opts.OMPTargetTriples.push_back(TT); } |