You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See https://godbolt.org/z/3n85TK4ab for an example. CodeGen adds -target-features to LLVM function attributes to propagate -march. CIRGen needs to match this so that we can e.g. use feature-specific intrinsics end-to-end.
The text was updated successfully, but these errors were encountered:
smeenai
added
the
IR difference
A difference in ClangIR-generated LLVM IR that could complicate reusing original CodeGen tests
label
Nov 22, 2024
@bcardosolopes Clang TargetInfo and Flang treat them parallel with target triple, which I believe is the right abstraction. It sounds reasonable to also have cir.target_featurescir.tune_cpu, cir.target_cpu ... as optional StringAttr.
See https://godbolt.org/z/3n85TK4ab for an example. CodeGen adds
-target-features
to LLVM function attributes to propagate-march
. CIRGen needs to match this so that we can e.g. use feature-specific intrinsics end-to-end.The text was updated successfully, but these errors were encountered: