[PATCH] D21374: [RFC] Generate long nop instructions depending on function-specific subtarget info

Andrey Turetskiy via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 4 06:57:52 PDT 2016


aturetsk added a comment.

Can we use llvm.ident metadata which is stored and loaded from an assembly file to keep function-specific subtarget information across assembly?
For example we could store "llvm/multiversioning/symbol_name/cpu_name/feature_bits_hex" string in ident metadata for functions which subtarget info differs from module's info in AsmPrinter::FinalizeMachineFunction.


http://reviews.llvm.org/D21374





More information about the llvm-commits mailing list