https://llvm.org/bugs/show_bug.cgi?id=30318

Evgeniy Stepanov <eugeni.stepa...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |vitalyb...@google.com
         Resolution|---                         |FIXED

--- Comment #3 from Evgeniy Stepanov <eugeni.stepa...@gmail.com> ---
Fixed in https://reviews.llvm.org/rL281784

This is what it reduced to: 

define i8* @zot() safestack {
bb:
  %tmp = alloca i8*, align 8
  %tmp2 = bitcast i8** %tmp to i8*
  br label %bb3

bb3:                                              ; preds = %bb3, %bb
  call void @llvm.lifetime.start(i64 8, i8* nonnull %tmp2)
  %tmp4 = call i32 @wombat(i8** nonnull %tmp)
  indirectbr i8* undef, [label %bb3]
}

declare i32 @wombat(i8**)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to