Displaying 3 results from an estimated 3 matches for "until2".
Did you mean:
  until
  
2011 Jul 05
3
[LLVMdev] optimizer returning wrong variable?
...i32 0, i32* %c
  %x = alloca i32
  store i32 0, i32* %x
  %y = alloca i32
  store i32 0, i32* %y
  br label %Repeat1
Repeat1:                                          ; preds = %Until1, %
Entry
  store i32 0, i32* %y
  br label %Repeat2
Repeat2:                                          ; preds = %Until2, %
Repeat1
  %x3 = load i32* %x
  %y4 = load i32* %y
  %add = add i32 %x3, %y4
  %c5 = load i32* %c
  %add6 = add i32 %c5, %add
  store i32 %add6, i32* %c
  %y7 = load i32* %y
  %add8 = add i32 %y7, 1
  store i32 %add8, i32* %y
  br label %Until2
Until2:                                           ;...
2011 Jul 05
0
[LLVMdev] optimizer returning wrong variable?
...b, i32* %b2
> %c = alloca i32
> store i32 0, i32* %c
> %x = alloca i32
> store i32 0, i32* %x
> %y = alloca i32
> store i32 0, i32* %y
> br label %Repeat1
>
> Repeat1: ; preds = %Until1, %Entry
> store i32 0, i32* %y
> br label %Repeat2
>
> Repeat2: ; preds = %Until2, %Repeat1
> %x3 = load i32* %x
> %y4 = load i32* %y
> %add = add i32 %x3, %y4
> %c5 = load i32* %c
> %add6 = add i32 %c5, %add
> store i32 %add6, i32* %c
> %y7 = load i32* %y
> %add8 = add i32 %y7, 1
> store i32 %add8, i32* %y
> br label %Until2
>
> Until2: ; pre...
2013 Nov 21
1
[LLVMdev] Problem with labels
Hi,
I'm trying to assemble the following LLVM assembly source code, but
llvm-as reports an error (expected opcode instruction) at the label
"Until2:" (in function @find). If i remove both the load and store
instructions before it it works, but then there is the same problem with
Until1 (in @main).
I wanted to ask how to solve this / where labels can be placed?
@.intFormat = internal constant [3 x i8] c"%d\00"
declare i32 @scan...