<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi all,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
In response to this issue[0] on Bugzilla, I recently committed changes to make assembly directives case insensitive for generic directives and their aliases[1], ARM[2] and AArch64[3]. (since those are the targets I have knowledge of)</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I realise this was probably a bit too hasty of me, so I'm writing this to gather feedback on how to proceed.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Some concerns were raised that it may be easier to fix projects that aren't using lower case directives. My intent was more to remove our reliance on case in general, which is more an implementation detail than a feature as far as I can tell. Maybe this is
 not a strong enough argument for change.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
No target in llvm uses anything but lower case directives. Some targets supported by GCC/binutils do document mixed case directives, but accept any case.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
So my questions for the list are:</div>
<div>
<ul>
<li><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif"><span style="">do you agree with the changes so far? (happy to revert if not)</span></font></li><li><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif"><span style=""><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif"><span style="margin:0px">should the same changes be applied to other targets?</span></font><br>
</span></font></li><li><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif"><span style="">could there be future situations where a target would need case specific directives?<br>
</span></font></li><li><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif">Where should this behaviour (whatever it ends up as) be documented? I found [4] but it's more about extensions than the assembler as such.</font></li></ul>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
David Spickett.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
[0] <a href="https://bugs.llvm.org/show_bug.cgi?id=39527" id="LPlnk948072">https://bugs.llvm.org/show_bug.cgi?id=39527</a></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
[1] <a href="https://reviews.llvm.org/D72686" id="LPlnk243515">https://reviews.llvm.org/D72686</a></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
[2] <a href="https://reviews.llvm.org/D73469" id="LPlnk850882">https://reviews.llvm.org/D73469</a></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
[3] <a href="https://reviews.llvm.org/D72923" id="LPlnk890401">https://reviews.llvm.org/D72923</a></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
[4] <a href="https://llvm.org/docs/Extensions.html" id="LPlnk632110">https://llvm.org/docs/Extensions.html</a></div>
<div id="LPBorder_GTaHR0cHM6Ly9sbHZtLm9yZy9kb2NzL0V4dGVuc2lvbnMuaHRtbA.." class="LPBorder844894" style="width: 100%; margin-top: 16px; margin-bottom: 16px; max-width: 800px; min-width: 424px; position: relative;">
<table id="LPContainer844894" role="presentation" style="padding:12px 36px 12px 12px; width:100%; border:1px solid rgb(200,200,200); border-top-left-radius:2px; border-top-right-radius:2px; border-bottom-right-radius:2px; border-bottom-left-radius:2px">
<tbody>
<tr valign="top" style="border-spacing:0px">
<td style="width:100%">
<div id="LPTitle844894" style="font-size:21px; font-weight:300; margin-right:8px; font-family:wf_segoe-ui_light,"Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; margin-bottom:12px">
<a target="_blank" id="LPUrlAnchor844894" href="https://llvm.org/docs/Extensions.html" style="text-decoration:none">LLVM Extensions — LLVM 10 documentation</a></div>
<div id="LPDescription844894" style="font-size:14px; max-height:100px; color:rgb(102,102,102); font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; margin-bottom:12px; margin-right:8px; overflow:hidden">
SHT_LLVM_ADDRSIG Section (address-significance table) ¶. This section is used to mark symbols as address-significant, i.e. the address of the symbol is used in a comparison or leaks outside the translation unit.</div>
<div id="LPMetadata844894" style="font-size:14px; font-weight:400; color:rgb(166,166,166); font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif">
llvm.org</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
</div>
</body>
</html>