[PATCH] D88243: [OpenMP] OpenMPOpt Support for Globalization Remarks

Joseph Huber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 10:18:45 PDT 2020


jhuber6 added a comment.

In D88243#2293147 <https://reviews.llvm.org/D88243#2293147>, @jhuber6 wrote:

> In D88243#2293144 <https://reviews.llvm.org/D88243#2293144>, @jdoerfert wrote:
>
>> Test?
>
> I tested it just using the example file to see if it works. I tried just calling opt on it but it was giving me some dumb error so I figured I'd just get it set up first.
>
>   clang++ -fopenmp clang/tests/OpenMP/declare_target_codegen_globalization.cpp -Rpass=openmp-opt -Rpass-analysis=openmp-opt -S -emit-llvm -fopenmp-targets=nvptx64-nvidia-cuda -O3

I think the problem is calling opt on the file since it's combined with the nvptx IR. Is there some opt command line option that does that correctly?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88243/new/

https://reviews.llvm.org/D88243



More information about the llvm-commits mailing list