[PATCH] D151903: [Flang][MLIR][OpenMP][OMPIRBuilder] Use target triple to initialize `IsTargetCodegen` flag

Sergio Afonso via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 03:11:31 PDT 2023


skatrak updated this revision to Diff 538993.
skatrak added a comment.
Herald added subscribers: llvm-commits, csigg.
Herald added a project: LLVM.

Rename compiler option and MLIR attribute to match new name for the flag. Create unit test for a case where that flag impacts the generated IR.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151903

Files:
  flang/include/flang/Frontend/LangOptions.def
  flang/include/flang/Tools/CrossToolHelpers.h
  flang/lib/Frontend/CompilerInvocation.cpp
  flang/test/Lower/OpenMP/omp-host-ir-flag.f90
  flang/test/Lower/OpenMP/omp-is-gpu.f90
  flang/test/Lower/OpenMP/rtl-flags.f90
  flang/test/Lower/OpenMP/target_cpu_features.f90
  flang/tools/bbc/bbc.cpp
  llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
  mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td
  mlir/lib/Target/LLVMIR/ModuleTranslation.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151903.538993.patch
Type: text/x-patch
Size: 16808 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230711/93973aa6/attachment-0001.bin>


More information about the llvm-commits mailing list