[llvm] [AArch64] Emit .arch and .arch_extension during assembly to textual asm (PR #138433)
Zachary Yedidia via llvm-commits
llvm-commits at lists.llvm.org
Mon May 5 15:17:08 PDT 2025
================
@@ -7234,6 +7236,8 @@ bool AArch64AsmParser::parseDirectiveArchExtension(SMLoc L) {
STI.ClearFeatureBitsTransitively(It->Features);
FeatureBitset Features = ComputeAvailableFeatures(STI.getFeatureBits());
setAvailableFeatures(Features);
+
+ getTargetStreamer().emitDirectiveArchExtension(Name);
----------------
zyedidia wrote:
Thank you for catching that. I have updated the code so that it emits the full name from before the `no` prefix is stripped, along with a test. Let me know if you'd like further changes.
https://github.com/llvm/llvm-project/pull/138433
More information about the llvm-commits
mailing list