<div dir="ltr">Hi Tom,<div>To be perfectly honest with you, you're getting into some of the details that we're in the process of working out. In general, we intend to support compiling source files in different code pages and allow users to create ASCII and EBCDIC programs with string/char literals in multiple code pages. </div><div><br></div><div>To answer your specific questions, our current clang-based compilers do not support #pragma filetag or #pragma convlit. We do however have support for #pragma convert. </div><div><br></div><div>Our intention is to commit all of this upstream, subject of course to discussion and review with the community. </div><div><br></div><div>We'll be sending an RFC to the dev lists when we are ready to start upstreaming our work. That RFC can include some more details about some of these features. </div><div><br></div><div>Thanks,</div><div><br>Kit</div><div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 25, 2020 at 11:29 AM Tom Honermann via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_1765150481069760528WordSection1">
<p class="MsoNormal">Hi Kit.  I'm curious about the support for Clang on z/OS and, in particular, support for EBCDIC based source files and run-time interaction with the OS.  Would you be able to describe what features IBM has added (or will be adding) along
 those lines?  Will the <a href="https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.bpxb200/uenha.htm" target="_blank">
z/OS enhanced ASCII functionality</a> be supported?  How about <a href="https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.cbcux01/ascii.htm" target="_blank">
xlC's enhanced ASCII</a> support?  Or <span style="font-family:"Courier New""><a href="https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.cbcpx01/fltg.htm" target="_blank">#pragma filetag</a></span>?  Or
<span style="font-family:"Courier New""><a href="https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.cbcux01/convlit.htm" target="_blank">#pragma convlit</a></span>?  Does IBM plan to contribute changes for these features back to the community?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">This sounds like a positive direction!<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Tom.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">(apologies if this message is received twice, my mail client is acting up).<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-top:none;border-right:none;border-bottom:none;border-left:1.5pt solid blue;padding:0in 0in 0in 4pt">
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b>From:</b> llvm-dev <<a href="mailto:llvm-dev-bounces@lists.llvm.org" target="_blank">llvm-dev-bounces@lists.llvm.org</a>> <b>On Behalf Of
</b>Kit Barton via llvm-dev<br>
<b>Sent:</b> Monday, February 24, 2020 1:44 PM<br>
<b>To:</b> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<b>Subject:</b> [llvm-dev] IBM C/C++ and Fortran compilers to adopt LLVM open source infrastructure<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif">Hi all,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif">I'm very excited to be able to share this with everyone. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif">IBM announced this morning our intention to migrate our existing XL C/C++ and Fortran compilers to adopt the LLVM infrastructure. This will include both front-end (Clang) and
 back-end optimizations and code generation.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif">You can read the full announcement here:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif"><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__developer.ibm.com_linuxonpower_2020_02_23_ibm-2Dc-2Dc-2Dand-2Dfortran-2Dcompilers-2Dto-2Dadopt-2Dllvm-2Dopen-2Dsource-2Dinfrastructure_&d=DwMFaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=oOJsFtgkFCCcDlfLWKmfrVDtpXLihXJTBGJfSapXCV0&m=tZKprmffzEkUM3gcP4LTvyihX_fLGH0hYTjj65EDfic&s=sJ3t-OgKvWIK4EtJUgDahDtw8bS0vXa8oxlPXMQ-X-c&e=" target="_blank">https://developer.ibm.com/linuxonpower/2020/02/23/ibm-c-c-and-fortran-compilers-to-adopt-llvm-open-source-infrastructure/</a><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif">If anyone has any questions/comments, I'm very happy to discuss further - either through email or on discord (my presence on IRC is very intermittent). <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif"> <u></u><u></u></span></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Arial,sans-serif">Kit Barton, Ph.D.<br>
STSM, Technical lead for LLVM on Power and XL Compilers<br>
IBM Toronto Lab, C2/705/8200/MKM<br>
8200 Warden Ave, Markham, L6G 1C7<br>
(905) 413-3452<br>
<a href="mailto:kbarton@ca.ibm.com" target="_blank">kbarton@ca.ibm.com</a></span><span style="font-size:10.5pt;font-family:Arial,sans-serif"><u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>

_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>