[PATCH] D146612: [OpenMP][MLIR][OpenMPIRBuilder] Lower OpenMP target attributes
Dominik Adamski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 22 02:27:33 PDT 2023
domada created this revision.
domada added reviewers: jsjodin, kiranktp, kiranchandramohan, agozillon, TIFitis, RogerV-AMD, dpalermo, raghavendhra, NimishMishra, skatrak.
domada added projects: OpenMP, MLIR.
Herald added subscribers: sunshaoce, Moerafaat, zero9178, bzcheeseman, awarzynski, sdasgup3, wenzhicui, wrengr, cota, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, mgester, arpith-jacob, antiagainst, shauheen, rriddle, mehdi_amini, thopre, guansong, hiraditya, yaxunl.
Herald added a reviewer: ftynse.
Herald added a project: All.
domada requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: nicolasvasilache.
Herald added subscribers: llvm-commits, jplehr, sstefan1, stephenneuendorffer, nicolasvasilache.
Herald added a project: LLVM.
Added functionality which allows to attach information about target features to LLVM IR generated from MLIR code.
Scope of changes:
1. Added new function to OpenMPIRBuilder which adds functions attributes to generated LLVM IR functions
2. OpenMPIRBuiler attaches target attributes at the end of MLIR translation
This revision depends on D145579 <https://reviews.llvm.org/D145579> which adds target attributes to OpenMP MLIR dialect.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D146612
Files:
llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
llvm/include/llvm/Transforms/Utils/CodeExtractor.h
llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
llvm/lib/Transforms/Utils/CodeExtractor.cpp
mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
mlir/test/Target/LLVMIR/openmp-llvm.mlir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146612.507271.patch
Type: text/x-patch
Size: 15567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230322/2b9b51e0/attachment.bin>
More information about the llvm-commits
mailing list