<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Well the code I was looking at was making assumptions about what the backend will decide about procedure calls, so why not ask the backend? I haven't looked at the target classes in Clang in a long time, but just having a quick look now there still appears
 to be duplication with LLVM's target machine and subtargets, at least for ARM anyway. For instance, the triple is used for ABI and data layout calculations and there's no end of flags for features. I guess I must be missing something, but it just seems odd
 and harder to maintain having two descriptions of the targets.</p>
<p><br>
</p>
<p>cheers,</p>
<p>sam</p>
<p><br>
</p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Sam Parker</p>
<p>Software Engineer, Compilation Tools</p>
<p>Development Solutions Group</p>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Renato Golin <renato.golin@linaro.org><br>
<b>Sent:</b> 22 August 2016 12:14:42<br>
<b>To:</b> Sam Parker<br>
<b>Cc:</b> Tim Northover; nd; cfe-dev@lists.llvm.org<br>
<b>Subject:</b> Re: [cfe-dev] ARM procedure calls (sorry)</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On 22 August 2016 at 09:45, Sam Parker via cfe-dev<br>
<cfe-dev@lists.llvm.org> wrote:<br>
> On a related note, are there any plans to enable Clang to use the backends for target information?<br>
<br>
Exposing the raw target information would be dangerous, most of the<br>
target info in Clang is derived from the Triple and compiler flags.<br>
<br>
What do you have in mind?<br>
<br>
--renato<br>
<br>
</div>
</span></font>
</body>
</html>