Displaying 3 results from an estimated 3 matches for "_tmp15".
Did you mean:
tmp15
2016 Feb 08
2
LoopIdiomRegognize vs Preserved
Hi,
I'm having problems with the LoopIdiomRegognizer crashing on me with
An asserting value handle still pointed to this value!
UNREACHABLE executed at ../lib/IR/Value.cpp:695!
If I remove
AU.addPreserved<LoopInfoWrapperPass>();
or
AU.addPreserved<AAResultsWrapperPass>();
everything goes well.
The C-code triggering this is
void foo(int a[10][10])
{
int i, j,
2016 Feb 09
2
LoopIdiomRegognize vs Preserved
...d i8, i8* %j.3
br i1 %_tmp11, label %bb6, label %bb7
bb7: ; preds = %bb5
%_tmp13 = add i8 %_tmp3, 1
store i8 %_tmp13, i8* %j.3
br label %bb3
bb3: ; preds = %bb1, %bb7
%_tmp14 = load i8, i8* %j.3
%_tmp15 = icmp slt i8 %_tmp14, 2
br i1 %_tmp15, label %bb4, label %bb1
bb1: ; preds = %bb3, %0
br i1 false, label %bb3, label %bb9
bb9: ; preds = %bb1
ret void
}
!llvm.ident = !{!0}
!0 = !{!"foo"}
2017 Jan 13
4
Wrong code bug after GVN/PRE?
...%step1.7
%_tmp10 = sext %int4 %_tmp9 to i64
%_tmp11 = getelementptr %arr18, %ptr20 %_tmp8, i16 0, i64 %_tmp10
store %int4 %_tmp7, %ptr7 %_tmp11
%_tmp12 = load %int4, %ptr7 %step1.7
%_tmp13 = icmp eq %int4 %_tmp12, 0
br i1 %_tmp13, label %bb3, label %bb4
bb3:
%_tmp14 = load %ptr20, %ptr26 %liv1.12
%_tmp15 = bitcast %ptr20 %_tmp14 to %ptr7
store %int4 10, %ptr7 %_tmp15
br label %bb5
bb4:
%_tmp16 = load %ptr20, %ptr26 %liv1.12
%_tmp17 = load %int4, %ptr7 %step1.7
%_tmp18 = sub %int4 %_tmp17, 1
%_tmp19 = sext %int4 %_tmp18 to i64
%_tmp20 = getelementptr %arr18, %ptr20 %_tmp16, i16 0, i64 %_tmp19
%_tmp2...