Displaying 6 results from an estimated 6 matches for "then8".
Did you mean:
then
2019 Sep 24
2
An issue with "lifetime.start" and storing "undef"
...ich in turn causes the address sanitizer to complain about
use-after-scope.
Here is the part of the IR that does this
*After undeflocal*
if.end9: ; preds =
%_ZN4llvm10IndexedMapIN12_GLOBAL__N_18RAGreedy7RegInfoENS_20VirtReg2IndexFunctorEEixEj.exit,
%if.then8
%Cascade.0 = phi i32 [ %7,
%_ZN4llvm10IndexedMapIN12_GLOBAL__N_18RAGreedy7RegInfoENS_20VirtReg2IndexFunctorEEixEj.exit
], [ %8, %if.then8 ], !dbg !22012
store i64 undef, i64* %Cost, align 8, !dbg !22013
%9 = bitcast i64* %Cost to i8*, !dbg !22013
call void @llvm.lifetime.start.p0i8(i64...
2018 May 16
0
GlobalAddress lowering strategy
...; preds = %if.end3
tail call void @abort() #3
unreachable
if.end6: ; preds = %if.end3
%3 = load i32, i32* getelementptr inbounds ([4 x i32], [4 x i32]*
@a, i32 0, i32 3), align 4
%cmp7 = icmp eq i32 %3, 1
br i1 %cmp7, label %if.end9, label %if.then8
if.then8: ; preds = %if.end6
tail call void @abort() #3
unreachable
if.end9: ; preds = %if.end6
tail call void @exit(i32 0) #3
unreachable
}
declare void @abort()
declare void @exit(i32)
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
...reds = %Else4
%24 = load float, float* %x, !dbg !112
%25 = fadd fast float %24, 0x4770000000000000, !dbg !113
call fastcc void @forceEval(float %25) #6, !dbg !114
%26 = load i32, i32* %u, !dbg !115
%27 = lshr i32 %26, 31, !dbg !116
%28 = icmp eq i32 %27, 0, !dbg !117
br i1 %28, label %Then8, label %Else9, !dbg !117
EndIf7: ; 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, !db...
2017 Jun 19
2
LLVM behavior different depending on function symbol name
...>> %25 = fadd fast float %24, 0x4770000000000000, !dbg !113
>> call fastcc void @forceEval(float %25) #6, !dbg !114
>> %26 = load i32, i32* %u, !dbg !115
>> %27 = lshr i32 %26, 31, !dbg !116
>> %28 = icmp eq i32 %27, 0, !dbg !117
>> br i1 %28, label %Then8, label %Else9, !dbg !117
>>
>> EndIf7: ; preds = %Else6
>> br label %EndIf11, !dbg !118
>>
>> Then8: ; preds = %EndIf
>> %29 = load i32, i32* %u, !dbg !119
>> %30 = l...
2013 Feb 14
1
[LLVMdev] LiveIntervals analysis problem
...%bits.1.i.i = phi i16 [ %conv2.i.i, %if.then.i600.i ], [ %bits.024.i.i, %for.body.i599.i ]
%shr22.i.i = lshr i16 %266, 1
%conv5.i.i = zext i16 %bits.1.i.i to i32
%and6.i.i = and i32 %conv5.i.i, 2
%tobool7.i.i = icmp eq i32 %and6.i.i, 0
br i1 %tobool7.i.i, label %if.end12.i.i, label %if.then8.i.i
if.then8.i.i: ; preds = %if.end.i601.i
%conv9.i.i = zext i16 %shr22.i.i to i32
%or10.i.i = or i32 %conv9.i.i, 32768
%conv11.i.i = trunc i32 %or10.i.i to i16
br label %if.end12.i.i
if.end12.i.i: ; preds = %if.then8...