Skip to content

Commit 2be6ba0

Browse files
committed
Remove redundant target-features setup
1 parent d7815e4 commit 2be6ba0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

mlir/lib/Target/LLVMIR/ModuleTranslation.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1494,9 +1494,6 @@ LogicalResult ModuleTranslation::convertOneFunction(LLVMFuncOp func) {
14941494
if (auto tuneCpu = func.getTuneCpu())
14951495
llvmFunc->addFnAttr("tune-cpu", *tuneCpu);
14961496

1497-
if (auto targetFeatures = func.getTargetFeatures())
1498-
llvmFunc->addFnAttr("target-features", targetFeatures->getFeaturesString());
1499-
15001497
if (auto attr = func.getVscaleRange())
15011498
llvmFunc->addFnAttr(llvm::Attribute::getWithVScaleRangeArgs(
15021499
getLLVMContext(), attr->getMinRange().getInt(),

0 commit comments

Comments
 (0)