<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Cannot promote non-promotable alloca!"
   href="http://llvm.org/bugs/show_bug.cgi?id=16687">16687</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cannot promote non-promotable alloca!
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Scalar Optimizations
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nlewycky@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>chandlerc@gmail.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>; ModuleID = 'b.bc'
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: nounwind uwtable
define void @test() {
entry:
  %sminval.i = alloca i64, align 8
  unreachable

if.then2.i125:                                    ; preds = %if.then.i124
  %sminval.0.cast.i = bitcast i64* %sminval.i to float*
  br label %if.end.i128

if.else.i:                                        ; preds = %if.then.i124
  %sminval.4.raw_cast.i = bitcast i64* %sminval.i to i8*
  %sminval.4.raw_idx.i = getelementptr inbounds i8* %sminval.4.raw_cast.i, i64
4
  %sminval.4.cast.i = bitcast i8* %sminval.4.raw_idx.i to float*
  br label %if.end.i128

if.end.i128:                                      ; preds = %if.else.i,
%if.then2.i125
  %min.0.in.i = phi float* [ %sminval.0.cast.i, %if.then2.i125 ], [
%sminval.4.cast.i, %if.else.i ]
  %min.0.i126 = load float* %min.0.in.i, align 4
  unreachable
}</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>