Skip to content
Unverified Commit 92bbf615 authored by Sergio Afonso's avatar Sergio Afonso Committed by GitHub
Browse files

[Flang][MLIR][OpenMP] Use function-attached target attributes for OpenMP lowering (#78291)

This patch removes the omp.target module attribute, since the
information it held on the target CPU and features is available through
the fir.target_cpu and fir.target_features module attributes. Target
outlining during the MLIR to LLVM IR translation stage is updated, so
that these attributes, at that point available as llvm.func attributes,
are passed along to the newly created function.
parent 7a4570ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment