Displaying 5 results from an estimated 5 matches for "add12".
Did you mean:
add1
2011 Jul 05
3
[LLVMdev] optimizer returning wrong variable?
...el %Until2
Until2: ; preds = %Repeat2
%y9 = load i32* %y
%b10 = load i32* %b2
%cond = icmp sge i32 %y9, %b10
br i1 %cond, label %Repeat2, label %Untilcmp2
Untilcmp2: ; preds = %Until2
%x11 = load i32* %x
%add12 = add i32 %x11, 1
store i32 %add12, i32* %x
br label %Until1
Until1: ; preds = %Untilcmp2
%x13 = load i32* %x
%a14 = load i32* %a1
%cond15 = icmp sge i32 %x13, %a14
br i1 %cond15, label %Repeat1, label %Untilcmp1
Untilcmp1:...
2011 Jul 05
0
[LLVMdev] optimizer returning wrong variable?
..., 1
> store i32 %add8, i32* %y
> br label %Until2
>
> Until2: ; preds = %Repeat2
> %y9 = load i32* %y
> %b10 = load i32* %b2
> %cond = icmp sge i32 %y9, %b10
> br i1 %cond, label %Repeat2, label %Untilcmp2
>
> Untilcmp2: ; preds = %Until2
> %x11 = load i32* %x
> %add12 = add i32 %x11, 1
> store i32 %add12, i32* %x
> br label %Until1
>
> Until1: ; preds = %Untilcmp2
> %x13 = load i32* %x
> %a14 = load i32* %a1
> %cond15 = icmp sge i32 %x13, %a14
> br i1 %cond15, label %Repeat1, label %Untilcmp1
>
> Untilcmp1: ; preds = %Until1
> %c...
2016 Apr 08
2
LIBCLC with LLVM 3.9 Trunk
It's not clear what is actually wrong from your original message, I think
you need to give some more information as to what you are doing: Example
source, what target GPU, compiler error messages or other evidence of "it's
wrong" (llvm IR, disassembly, etc) ...
--
Mats
On 8 April 2016 at 09:55, Liu Xin via llvm-dev <llvm-dev at lists.llvm.org>
wrote:
> I built it
2013 Oct 28
2
[LLVMdev] loop vectorizer says Bad stride
...i32* %i, align 4
%add8 = add nsw i32 256, %14
%idxprom9 = sext i32 %add8 to i64
%15 = load float** %b.addr, align 8
%arrayidx10 = getelementptr inbounds float* %15, i64 %idxprom9
%16 = load float* %arrayidx10, align 4
%add11 = fadd float %13, %16
%17 = load i32* %i, align 4
%add12 = add nsw i32 256, %17
%idxprom13 = sext i32 %add12 to i64
%18 = load float** %c.addr, align 8
%arrayidx14 = getelementptr inbounds float* %18, i64 %idxprom13
store float %add11, float* %arrayidx14, align 4
br label %for.inc
for.inc: ; preds...
2013 Oct 28
0
[LLVMdev] loop vectorizer says Bad stride
...add8 = add nsw i32 256, %14
> %idxprom9 = sext i32 %add8 to i64
> %15 = load float** %b.addr, align 8
> %arrayidx10 = getelementptr inbounds float* %15, i64 %idxprom9
> %16 = load float* %arrayidx10, align 4
> %add11 = fadd float %13, %16
> %17 = load i32* %i, align 4
> %add12 = add nsw i32 256, %17
> %idxprom13 = sext i32 %add12 to i64
> %18 = load float** %c.addr, align 8
> %arrayidx14 = getelementptr inbounds float* %18, i64 %idxprom13
> store float %add11, float* %arrayidx14, align 4
> br label %for.inc
>
> for.inc:...