Displaying 2 results from an estimated 2 matches for "ifequal".
Did you mean:
equal
2003 Jun 03
1
[LLVMdev] Problem with `as'
...ternal constant [17 x sbyte] c"yyyyyyyyyyyyyyy\0a\00"
declare int "puts"(sbyte*)
int "main"() {
%cast1 = getelementptr [17 x sbyte]* %.LC0, long 0, long 0
%cast2 = getelementptr [17 x sbyte]* %.LC1, long 0, long 0
%result = seteq int 5, 6
br bool %result, label %IfEqual, label %IfUnEqual
IfEqual:
call int %puts(sbyte* %cast1)
br label %Done
IfUnEqual:
call int %puts(sbyte* %cast2)
Done:
ret int 0
}
The assembler says:
as: hello.ll:17: parse error, unexpected LABELSTR
hello.ll:17: while reading token: 'Done'
What am I missing?
Secondly, can I get th...
2011 Oct 22
0
[LLVMdev] Instruction Scheduling Itineraries
...=440 | grep msync
>>>>>> +
>>>>>> +define i32 @has_a_fence(i32 %a, i32 %b) nounwind {
>>>>>> +entry:
>>>>>> + fence acquire
>>>>>> + %cond = icmp eq i32 %a, %b
>>>>>> + br i1 %cond, label %IfEqual, label %IfUnequal
>>>>>> +
>>>>>> +IfEqual:
>>>>>> + fence release
>>>>>> + br label %end
>>>>>> +
>>>>>> +IfUnequal:
>>>>>> + fence release
>>>>>> + r...