[LLVMbugs] [Bug 16687] New: Cannot promote non-promotable alloca!

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 23 18:18:23 PDT 2013


            Bug ID: 16687
           Summary: Cannot promote non-promotable alloca!
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: nlewycky at google.com
                CC: chandlerc at gmail.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

; ModuleID = 'b.bc'
target datalayout =
target triple = "x86_64-unknown-linux-gnu"

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

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
  %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,
  %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

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130724/0e79a4ac/attachment.html>

More information about the llvm-bugs mailing list