[PATCH] D38258: [OpenMP] Fix passing of -m arguments to device toolchain

Jonas Hahnfeld via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 25 14:10:03 PDT 2017


Hahnfeld created this revision.

AuxTriple is not set if host and device share a toolchain. Also,
removing an argument modifies the DAL which needs to be returned
for future use.
(Move tests back to offload-openmp.c as they are not related to GPUs.)


https://reviews.llvm.org/D38258

Files:
  lib/Driver/ToolChain.cpp
  test/Driver/openmp-offload-gpu.c
  test/Driver/openmp-offload.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38258.116608.patch
Type: text/x-patch
Size: 7604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170925/c4be3e4a/attachment.bin>


More information about the cfe-commits mailing list