Conversation
Diff moderunner: ariselab-64c-docker 942 files changed, 941926 insertions(+), 981883 deletions(-) 1 6 bench/abc/optimized/mioUtils.ll |
|
The patch contains several LLVM IR optimizations that simplify and improve memory access patterns by replacing sequences of truncation and shifting operations with more efficient, direct stores. Below is a high-level summary of the 5 most significant changes across the files:
Summary Word Count: ~170 words model: qwen-plus-latest |
| br i1 %exitcond.not, label %47, label %31, !llvm.loop !26 | ||
|
|
||
| 47: ; preds = %31 | ||
| call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %4, ptr noundef nonnull align 4 dereferenceable(32) %0, i64 32, i1 false) |
| @@ -922,9 +920,7 @@ entry: | |||
| %rect.sroa.4.0.DesiredRect.sroa_idx = getelementptr inbounds nuw i8, ptr %this, i64 100 | |||
| store i32 0, ptr %rect.sroa.4.0.DesiredRect.sroa_idx, align 4, !tbaa !54 | |||
| %.sroa.23.0.insert.shift.i157 = shl nuw i32 %.sroa.23.0.insert.ext.i156, 16 | ||
| %.sroa.15.0.insert.ext.i158 = zext i16 %49 to i32 | ||
| %.sroa.15.0.insert.insert.i160 = or disjoint i32 %.sroa.23.0.insert.shift.i157, %.sroa.15.0.insert.ext.i158 | ||
| store i32 %.sroa.15.0.insert.insert.i160, ptr %16, align 2, !alias.scope !7892 |
Link: llvm/llvm-project#147540
Requested by: @nikic