-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pre-commit: PR115305 #1653
pre-commit: PR115305 #1653
Conversation
runner: buildkitsandbox
mitsuba3/jitallocator.cpp.ll crash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are various minor regressions
@@ -105368,7 +105368,7 @@ if.end: ; preds = %for.body | |||
%tobool.not = icmp eq i32 %add14.i.i62, 0 | |||
%spec.select = tail call i32 @llvm.umax.i32(i32 %add14.i.i62, i32 1) | |||
%inc = zext i1 %tobool.not to i32 | |||
%spec.select23 = add nuw nsw i32 %add14.i.i36, %inc | |||
%spec.select23 = add i32 %add14.i.i36, %inc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flag inference regression
@@ -2929,7 +2929,7 @@ if.then.i.i.i.i279: ; preds = %if.else.i.i | |||
_ZNKSt6vectorIN5arrow12_GLOBAL__N_15RangeESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i: ; preds = %if.else.i.i | |||
%sub.ptr.div.i.i.i.i.i = ashr exact i64 %sub.ptr.sub.i.i.i.i.i, 4 | |||
%.sroa.speculated.i.i.i.i = call i64 @llvm.umax.i64(i64 %sub.ptr.div.i.i.i.i.i, i64 1) | |||
%add.i.i.i.i = add i64 %.sroa.speculated.i.i.i.i, %sub.ptr.div.i.i.i.i.i | |||
%add.i.i.i.i = add nsw i64 %.sroa.speculated.i.i.i.i, %sub.ptr.div.i.i.i.i.i |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flag inference improvement
@@ -71721,10 +71721,10 @@ _ZNSt20back_insert_iteratorIN3fmt3v1019basic_memory_bufferIcLm500ESaIcEEEEaSEOc. | |||
store i64 %inc.pre-phi.i.i47, ptr %size_.i.i, align 8 | |||
%arrayidx.i.i49 = getelementptr inbounds i8, ptr %24, i64 %23 | |||
store i8 46, ptr %arrayidx.i.i49, align 1 | |||
%.sroa.speculated193 = tail call i32 @llvm.umin.i32(i32 %precision, i32 %.sroa.speculated) | |||
%.sroa.speculated193 = tail call i32 @llvm.smin.i32(i32 %precision, i32 %.sroa.speculated) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
umin -> smin regression
%cmp7 = icmp slt i32 %outhwm_, 1 | ||
%cmp10 = icmp eq i32 %1, 0 | ||
%or.cond = select i1 %cmp7, i1 true, i1 %cmp10 | ||
%out.0 = select i1 %or.cond, i32 0, i32 %add4 | ||
%3 = lshr i32 %2, 1 | ||
%div.i9 = select i1 %or.cond10, i32 0, i32 %3 | ||
%3 = sdiv i32 %2, 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
regression
%108 = icmp ult i32 %107, 8 | ||
%106 = add nsw i8 %105, -8 | ||
%107 = call i8 @llvm.fshl.i8(i8 %106, i8 %106, i8 5) | ||
%108 = icmp ult i8 %107, 8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
improvement
i32 4, label %287 | ||
i32 8, label %288 | ||
i32 16, label %289 | ||
%trunc = trunc nuw nsw i32 %.sroa.speculated to i8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
improvement (I think?)
%69 = add nuw nsw i32 %68, 3 | ||
%70 = and i32 %69, -4 | ||
%.sroa.speculated = tail call i32 @llvm.umin.i32(i32 %70, i32 %.sroa.speculated52) | ||
%66 = sdiv i32 %65, %.sroa.speculated52 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
regression (sdiv -> udiv no longer canonicalized)
|
||
36: ; preds = %26 | ||
%37 = fmul fast float %17, 1.250000e-01 | ||
%38 = sitofp i32 %.sroa.speculated99 to float |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
regression (sitofp no longer canonicalized)
@@ -1721,9 +1721,10 @@ _ZNK2cv11_InputArray6getMatEi.exit: ; preds = %187, %190 | |||
|
|||
312: ; preds = %304 | |||
call void @_ZN2cv16ParallelLoopBodyD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %37) #16 | |||
%.sroa.6.8.insert.ext = zext nneg i32 %234 to i64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
regression
/add-label regression |
Link: llvm/llvm-project#115305
Requested by: @nikic