[llvm-dev] segv inside loop on x86_64

Matt Arsenault via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 26 22:13:55 PDT 2015

> On Oct 27, 2015, at 12:46 AM, Peter McKinna via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> label_1:                                          ; preds = %label_2, %entry
>   %v.87 = load i64, i64* %i, align 8
>   %abs_icmp = icmp slt i64 %v.87, 0
>   %itetmp = alloca i64
>   br i1 %abs_icmp, label %abs_then, label %abs_else

You are supposed to have all allocas in the entry block, although I’m not sure if this is not expected to work.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151027/f74b388f/attachment.html>

More information about the llvm-dev mailing list