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

Florian Hahn <florian_h...@apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |florian_h...@apple.com
             Status|NEW                         |RESOLVED

--- Comment #5 from Florian Hahn <florian_h...@apple.com> ---
Looks fixed, test cases do not crash anymore, and the second  test case
produces the code below with current master.

define void @test2(i1 %yt) {
bb:
  %tmp = alloca i8*, align 4
  br i1 %yt, label %bb51, label %bb3

bb51:                                             ; preds = %bb
  %tmp52 = bitcast i8** %tmp to %type*
  %tmp53 = bitcast %type* %tmp52 to i8**
  %tmp54 = load i8*, i8** %tmp53, align 4
  ret void

bb3:                                              ; preds = %bb
  %x = load i8*, i8** %tmp
  ret void
}

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

Reply via email to