================
@@ -99,6 +99,10 @@ void FunctionAttrPass::runOnOperation() {
func->setAttr(
mlir::LLVM::LLVMFuncOp::getPreferVectorWidthAttrName(llvmFuncOpName),
mlir::StringAttr::get(context, preferVectorWidth));
+ if (UseSampleProfile)
+ func->setAttr(
----------------
kaviya2510 wrote:
Thankyou for the review @hockyy . I will update the changes.
https://github.com/llvm/llvm-project/pull/188697
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits