[llvm] [ARM] Generate build-attributes more correctly in the presence of intrinsic declarations. (PR #160749)

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 26 02:38:05 PDT 2025


================
@@ -610,20 +610,23 @@ void ARMAsmPrinter::emitEndOfAsmFile(Module &M) {
 // to appear in the .ARM.attributes section in ELF.
 // Instead of subclassing the MCELFStreamer, we do the work here.
 
- // Returns true if all functions have the same function attribute value.
- // It also returns true when the module has no functions.
+// Returns true if all functions have the same function attribute value.
----------------
smithp35 wrote:

Suggest a small comment update, also could be applied on line 623
```
Returns true if all function definitions have the same function attribute value.
```


https://github.com/llvm/llvm-project/pull/160749


More information about the llvm-commits mailing list