Displaying 3 results from an estimated 3 matches for "endif10".
2017 Jun 19
4
LLVM behavior different depending on function symbol name
Greetings,
I have a Zig implementation of ceil which is emitted into LLVM IR like this:
; Function Attrs: nobuiltin nounwind
define internal fastcc float @ceil(float) unnamed_addr #3 !dbg !644 {
Entry:
%x = alloca float, align 4
store float %0, float* %x
call void @llvm.dbg.declare(metadata float* %x, metadata !649, metadata
!494), !dbg !651
%1 = load float, float* %x, !dbg !652
%2 =
2017 Jun 19
2
LLVM behavior different depending on function symbol name
...; preds = %Else6
br label %EndIf11, !dbg !118
Then8: ; preds = %EndIf
%29 = load i32, i32* %u, !dbg !119
%30 = load i32, i32* %m, !dbg !121
%31 = add nuw i32 %29, %30, !dbg !122
store i32 %31, i32* %u, !dbg !122
br label %EndIf10, !dbg !123
Else9: ; preds = %EndIf
br label %EndIf10, !dbg !123
EndIf10: ; preds = %Else9, %Then8
%32 = load i32, i32* %u, !dbg !124
%33 = load i32, i32* %m, !dbg !125
%34 = xor i32 %33, -1, !dbg !126
%3...
2017 Jun 19
2
LLVM behavior different depending on function symbol name
...bg !118
>>
>> Then8: ; preds = %EndIf
>> %29 = load i32, i32* %u, !dbg !119
>> %30 = load i32, i32* %m, !dbg !121
>> %31 = add nuw i32 %29, %30, !dbg !122
>> store i32 %31, i32* %u, !dbg !122
>> br label %EndIf10, !dbg !123
>>
>> Else9: ; preds = %EndIf
>> br label %EndIf10, !dbg !123
>>
>> EndIf10: ; preds = %Else9, %Then8
>> %32 = load i32, i32* %u, !dbg !124
>> %33 = load i3...