Displaying 3 results from an estimated 3 matches for "some_main".
2020 Jun 10
2
LoopStrengthReduction generates false code
...t;>>
>>>> ----8<----
>>>>
>>>> LLVM assembly:
>>>>
>>>> @buffer = common dso_local global [10 x i32] zeroinitializer, align 4
>>>>
>>>> ; Function Attrs: nounwind
>>>> define dso_local void @some_main(i32* %result) local_unnamed_addr #0
>> {
>>>> entry:
>>>> tail call void @fill_array(i32* getelementptr inbounds ([10 x i32], [10 x
>> i32]*
>>>> @buffer, i32 0, i32 0)) #2
>>>> br label %while.body
>>>>
>>>> while...
2020 Jun 09
2
LoopStrengthReduction generates false code
...w can I debug this further? In my arch everything is 64 bit aligned (factor 8 in many passes) and the memory is not byte addressed.
Thanks,
Boris
----8<----
LLVM assembly:
@buffer = common dso_local global [10 x i32] zeroinitializer, align 4
; Function Attrs: nounwind
define dso_local void @some_main(i32* %result) local_unnamed_addr #0 {
entry:
tail call void @fill_array(i32* getelementptr inbounds ([10 x i32], [10 x i32]* @buffer, i32 0, i32 0)) #2
br label %while.body
while.body: ; preds = %entry, %while.body
%i.010 = phi i32 [ 0, %entry ], [ %inc,...
2020 Jun 09
2
LoopStrengthReduction generates false code
...is not byte addressed.
>>
>> Thanks,
>> Boris
>>
>> ----8<----
>>
>> LLVM assembly:
>>
>> @buffer = common dso_local global [10 x i32] zeroinitializer, align 4
>>
>> ; Function Attrs: nounwind
>> define dso_local void @some_main(i32* %result) local_unnamed_addr #0 {
>> entry:
>> tail call void @fill_array(i32* getelementptr inbounds ([10 x i32], [10 x i32]*
>> @buffer, i32 0, i32 0)) #2
>> br label %while.body
>>
>> while.body: ; preds = %entry, %...