Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions bench/hermes/optimized/Passes.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3148,16 +3148,19 @@ if.end.i58: ; preds = %if.end13.i.i.i51, %
if.end57: ; preds = %if.end9.i.i.i47, %if.end.i58, %if.end55, %if.end20
%call59 = call i32 @_ZN6hermes11Instruction18getChangedOperandsEv(ptr noundef nonnull align 8 dereferenceable(132) %__begin3.sroa.0.0196) #13
%tobool.not.i.i = icmp eq i32 %call59, 0
br i1 %tobool.not.i.i, label %for.inc81, label %for.body65.preheader
%52 = call range(i32 0, 33) i32 @llvm.cttz.i32(i32 %call59, i1 true)
%.fr.i = freeze i32 %52
%cmp.i61.not191217 = icmp eq i32 %.fr.i, -1
%cmp.i61.not191 = or i1 %tobool.not.i.i, %cmp.i61.not191217
br i1 %cmp.i61.not191, label %for.inc81, label %for.body65.preheader

for.body65.preheader: ; preds = %if.end57
%52 = call range(i32 0, 33) i32 @llvm.cttz.i32(i32 %call59, i1 true)
%shr.i.i = lshr exact i32 %call59, %52
%shr.i.i = lshr exact i32 %call59, %.fr.i
br label %for.body65

for.body65: ; preds = %for.body65.preheader, %_ZN6hermes10WordBitSetIjE14const_iteratorppEv.exit
%__begin4.sroa.0.0192 = phi i32 [ %shr5.i, %_ZN6hermes10WordBitSetIjE14const_iteratorppEv.exit ], [ %shr.i.i, %for.body65.preheader ]
%__begin4.sroa.4.0191 = phi i32 [ %add6.i, %_ZN6hermes10WordBitSetIjE14const_iteratorppEv.exit ], [ %52, %for.body65.preheader ]
%__begin4.sroa.4.0191 = phi i32 [ %add6.i, %_ZN6hermes10WordBitSetIjE14const_iteratorppEv.exit ], [ %.fr.i, %for.body65.preheader ]
%call67 = call noundef ptr @_ZNK6hermes11Instruction10getOperandEj(ptr noundef nonnull align 8 dereferenceable(132) %__begin3.sroa.0.0196, i32 noundef %__begin4.sroa.4.0191) #13
%53 = load ptr, ptr %RA_, align 8
%54 = icmp eq ptr %call67, null
Expand Down
5 changes: 2 additions & 3 deletions bench/postgres/optimized/rewriteheap.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1071,14 +1071,14 @@ define dso_local void @CheckPointLogicalRewriteHeap() local_unnamed_addr #0 {
call void @llvm.lifetime.start.p0(i64 1044, ptr nonnull %1) #13
%8 = tail call i64 @GetRedoRecPtr() #13
%9 = tail call i64 @ReplicationSlotsComputeLogicalRestartLSN() #13
%.not = icmp ne i64 %9, 0
%10 = tail call ptr @AllocateDir(ptr noundef nonnull @.str.4) #13
%11 = tail call ptr @ReadDir(ptr noundef %10, ptr noundef nonnull @.str.4) #13
%.not2740 = icmp eq ptr %11, null
br i1 %.not2740, label %._crit_edge, label %sub_0.lr.ph

sub_0.lr.ph: ; preds = %0
%spec.select = tail call i64 @llvm.umin.i64(i64 %8, i64 %9)
%.fr = freeze i64 %8
%spec.select = tail call i64 @llvm.umin.i64(i64 %.fr, i64 %9)
%12 = add i64 %spec.select, -1
br label %sub_0

Expand Down Expand Up @@ -1145,7 +1145,6 @@ sub_135: ; preds = %.tail
%39 = zext i32 %38 to i64
%40 = or disjoint i64 %37, %39
%or.cond3.not32 = icmp ult i64 %12, %40
%or.cond3.not = select i1 %.not, i1 %or.cond3.not32, i1 false
br i1 %or.cond3.not, label %52, label %41

41: ; preds = %34
Expand Down
11 changes: 5 additions & 6 deletions bench/recastnavigation/optimized/catch_amalgamated.ll
Original file line number Diff line number Diff line change
Expand Up @@ -38927,7 +38927,7 @@ define dso_local void @_ZN5Catch17parseReporterSpecENS_9StringRefE(ptr dead_on_u
%35 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %34, i64 %.013108
%36 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %35) #56
%37 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %35) #56
%38 = getelementptr inbounds i8, ptr %36, i64 %37
%38 = getelementptr i8, ptr %36, i64 %37
%39 = ptrtoint ptr %38 to i64
%40 = ptrtoint ptr %36 to i64
%41 = ashr i64 %37, 2
Expand Down Expand Up @@ -39031,15 +39031,14 @@ define dso_local void @_ZN5Catch17parseReporterSpecENS_9StringRefE(ptr dead_on_u
%.not.i = icmp eq i64 %37, 0
%81 = call i64 @llvm.umin.i64(i64 %37, i64 %80)
%.sroa.0.0.i.i = select i1 %.not.i, ptr @.str.14, ptr %36
%.sroa.4.0.i.i = select i1 %.not.i, i64 0, i64 %81
%82 = add i64 %80, 1
%83 = icmp ult i64 %82, %37
%84 = sub nuw i64 %37, %82
%85 = getelementptr inbounds i8, ptr %36, i64 %82
%86 = call i64 @llvm.umin.i64(i64 %84, i64 %37)
%.sroa.0.0.i2.i = select i1 %83, ptr %85, ptr @.str.14
%.sroa.4.0.i3.i = select i1 %83, i64 %86, i64 0
%87 = icmp eq i64 %.sroa.4.0.i.i, 0
%87 = icmp eq i64 %81, 0
%88 = icmp eq i64 %.sroa.4.0.i3.i, 0
%or.cond = select i1 %87, i1 true, i1 %88
br i1 %or.cond, label %89, label %90
Expand All @@ -39054,7 +39053,7 @@ define dso_local void @_ZN5Catch17parseReporterSpecENS_9StringRefE(ptr dead_on_u
br i1 %92, label %93, label %121

93: ; preds = %90
%94 = icmp eq i64 %.sroa.4.0.i.i, 1
%94 = icmp eq i64 %81, 1
br i1 %94, label %95, label %96

95: ; preds = %93
Expand All @@ -39064,7 +39063,7 @@ define dso_local void @_ZN5Catch17parseReporterSpecENS_9StringRefE(ptr dead_on_u
96: ; preds = %93
call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6)
call void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #56, !noalias !547
invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcmRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull %.sroa.0.0.i.i, i64 noundef %.sroa.4.0.i.i, ptr noundef nonnull align 1 dereferenceable(1) %6)
invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcmRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull %.sroa.0.0.i.i, i64 noundef %81, ptr noundef nonnull align 1 dereferenceable(1) %6)
to label %99 unwind label %97

97: ; preds = %96
Expand Down Expand Up @@ -39166,7 +39165,7 @@ _ZNKSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS5_S8_.exi
br label %.body

121: ; preds = %90
switch i64 %.sroa.4.0.i.i, label %_ZNK5Catch9StringRefeqES0_.exit28.thread [
switch i64 %81, label %_ZNK5Catch9StringRefeqES0_.exit28.thread [
i64 3, label %_ZNK5Catch9StringRefeqES0_.exit
i64 11, label %_ZNK5Catch9StringRefeqES0_.exit28
]
Expand Down
Loading