<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:efriedma@quicinc.com" title="Eli Friedman <efriedma@quicinc.com>"> <span class="fn">Eli Friedman</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - LLVM misses conversion of load of select between pointers-to-constants into select between constants"
   href="https://bugs.llvm.org/show_bug.cgi?id=45084">bug 45084</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - LLVM misses conversion of load of select between pointers-to-constants into select between constants"
   href="https://bugs.llvm.org/show_bug.cgi?id=45084#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - LLVM misses conversion of load of select between pointers-to-constants into select between constants"
   href="https://bugs.llvm.org/show_bug.cgi?id=45084">bug 45084</a>
              from <span class="vcard"><a class="email" href="mailto:efriedma@quicinc.com" title="Eli Friedman <efriedma@quicinc.com>"> <span class="fn">Eli Friedman</span></a>
</span></b>
        <pre>There's a semantic difference between the C rules and the C++ rules for
conditional operators. The result in C is always an rvalue; the result in C++
can be an lvalue.  The generated code reflects the difference in lowering for
lvalue conditional vs. rvalue conditional .

I guess we could try to reduce the number of memcpy calls we generate for
rvalue conditionals, if both operands are lvalue-ish.  But that doesn't really
seem like a priority.  So I'm just going to mark this fixed.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>