[Mlir-commits] [mlir] Add support for MLIR to llvm vscale attribute (PR #67012)
Tobias Gysi
llvmlistbot at llvm.org
Thu Sep 21 10:35:32 PDT 2023
================
@@ -1610,6 +1612,16 @@ void ModuleImport::processFunctionAttributes(llvm::Function *func,
funcOp.setArmStreaming(true);
else if (func->hasFnAttribute("aarch64_pstate_sm_body"))
funcOp.setArmLocallyStreaming(true);
+ llvm::Attribute attr = func->getFnAttribute(llvm::Attribute::VScaleRange);
+ if (attr.isValid()) {
----------------
gysit wrote:
Thanks for the explanation. All good, I was just curious how it works!
https://github.com/llvm/llvm-project/pull/67012
More information about the Mlir-commits
mailing list