[all-commits] [llvm/llvm-project] a1701f: [Flang][Lower] Attach target_cpu and target_featur...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Tue Jan 16 06:21:35 PST 2024
Branch: refs/heads/users/skatrak/spr/target-attrs-flang
Home: https://github.com/llvm/llvm-project
Commit: a1701f9108840bd7ac889a91e868df0f1334a84c
https://github.com/llvm/llvm-project/commit/a1701f9108840bd7ac889a91e868df0f1334a84c
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-01-16 (Tue, 16 Jan 2024)
Changed paths:
M flang/include/flang/Lower/Bridge.h
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/Lower/Bridge.cpp
M flang/test/Driver/save-mlir-temps.f90
A flang/test/Lower/target-features-amdgcn.f90
A flang/test/Lower/target-features-x86_64.f90
M flang/tools/bbc/bbc.cpp
Log Message:
-----------
[Flang][Lower] Attach target_cpu and target_features attributes to MLIR functions
This patch forwards the target CPU and features information from the Flang
frontend to MLIR func.func operation attributes, which are later used to
populate the target_cpu and target_features llvm.func attributes.
This completes a full flow by which target CPU and features make it all the way
from compiler options to LLVM IR function attributes.
More information about the All-commits
mailing list