Displaying 6 results from an estimated 6 matches for "simple_loop".
2014 Oct 24
2
[LLVMdev] Virtual register def doesn't dominate all uses
...39;t implement MUL at this stage. Their "state" is LEGAL and not CUSTOM or EXPAND. But it fails with implemented operations as well.
What did I do wrong? Missing implementation for some operations? What did I miss to implement?
Thanks in advance,
Boris
----8<----
C source-code:
int simple_loop(int end_loop_index)
{
int sum = 0;
for(int i = 0; i < end_loop_index; i++) {
sum += i;
}
return(sum);
}
LLVm byte-code disassembly:
; Function Attrs: nounwind readnone
define i32 @simple_loop(i32 %end_loop_index) #1 {
entry:
%cmp4 = icmp sgt i32 %end_loop_index, 0
br i1 %cmp4,...
2014 Oct 29
2
[LLVMdev] Virtual register def doesn't dominate all uses
...D. But it fails with implemented operations as well.
>>
>> What did I do wrong? Missing implementation for some operations? What did I miss to implement?
>>
>> Thanks in advance,
>> Boris
>>
>> ----8<----
>>
>> C source-code:
>> int simple_loop(int end_loop_index)
>> {
>> int sum = 0;
>> for(int i = 0; i < end_loop_index; i++) {
>> sum += i;
>> }
>> return(sum);
>> }
>>
>>
>> LLVm byte-code disassembly:
>> ; Function Attrs: nounwind readnone
>> define i32 @simp...
2014 Oct 31
2
[LLVMdev] Virtual register def doesn't dominate all uses
...gt;> What did I do wrong? Missing implementation for some operations? What did I miss to implement?
>>>>
>>>> Thanks in advance,
>>>> Boris
>>>>
>>>> ----8<----
>>>>
>>>> C source-code:
>>>> int simple_loop(int end_loop_index)
>>>> {
>>>> int sum = 0;
>>>> for(int i = 0; i < end_loop_index; i++) {
>>>> sum += i;
>>>> }
>>>> return(sum);
>>>> }
>>>>
>>>>
>>>> LLVm byte-code disas...
2014 Nov 01
2
[LLVMdev] Virtual register def doesn't dominate all uses
...rations? What did I miss to implement?
>>>>>>
>>>>>> Thanks in advance,
>>>>>> Boris
>>>>>>
>>>>>> ----8<----
>>>>>>
>>>>>> C source-code:
>>>>>> int simple_loop(int end_loop_index)
>>>>>> {
>>>>>> int sum = 0;
>>>>>> for(int i = 0; i < end_loop_index; i++) {
>>>>>> sum += i;
>>>>>> }
>>>>>> return(sum);
>>>>>> }
>>>>&...
2014 Mar 20
2
[LLVMdev] load bytecode from string for jiting problem
...File(llvm::MemoryBuffer*,
> llvm::LLVMContext&) ()
> #4 0x00000000004ec195 in jitter (skeletons=<optimized out>,
> params=0x7fffffffdf40, phi_state=0x11adbc0, lower=0, upper=250,
> inst_outer=8, inst_inner=<optimized out>)
> at /home/willy/hello_stuff/with_apollo/simple_loop/runtime.cpp:263
> #5 0x00000000004ec8fa in apollo_runtime_hook (info=<optimized out>,
> skeletons=0xc8b1f0, skeleton_size=<optimized out>, params=0x7fffffffdf40,
> phi_state_size=<optimized out>)
> at /home/willy/hello_stuff/with_apollo/simple_loop/runtime.cpp:438...
2014 Mar 20
2
[LLVMdev] load bytecode from string for jiting problem
This segfault occuring only under valgrind,
in shell way, and in gdb way i have
Invalid bitcode signature
simple_scev_dynamic_array: /home/willy/apollo/llvm/include/llvm/Support/ErrorOr.h:258: storage_type *llvm::ErrorOr<llvm::Module *>::getStorage() [T = llvm::Module *]: Assertion `!HasError && "Cannot get value when an error exists!"' failed.
Command terminated by