Skip to content

Commit ed88e6e

Browse files
committed
Address comments [to squash]
1 parent c055495 commit ed88e6e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/docs/AArch64SME.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ level ACLE attributes:
3131
is used for functions with ``__arm_locally_streaming`` and is
3232
only valid on function definitions (not declarations)
3333

34-
``aarch64_pstate_new_za``
34+
``aarch64_new_za``
3535
is used for functions with ``__arm_new("za")``
3636

3737
``aarch64_in_za``

mlir/lib/Target/LLVMIR/ModuleTranslation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ LogicalResult ModuleTranslation::convertOneFunction(LLVMFuncOp func) {
12051205
llvmFunc->addFnAttr("aarch64_out_za");
12061206
else if (func.getArmInoutZa())
12071207
llvmFunc->addFnAttr("aarch64_inout_za");
1208-
if (func.getArmPreservesZa())
1208+
else if (func.getArmPreservesZa())
12091209
llvmFunc->addFnAttr("aarch64_preserves_za");
12101210

12111211
if (auto targetCpu = func.getTargetCpu())

0 commit comments

Comments
 (0)