Skip to content

pre-commit (diff): llvm/llvm-project/compare/main...fhahn:ce-info-for-iv-latch-header - #1200

Open
zyw-bot wants to merge 4 commits into
task-33959266274-basefrom
task-33959266274-change
Open

pre-commit (diff): llvm/llvm-project/compare/main...fhahn:ce-info-for-iv-latch-header#1200
zyw-bot wants to merge 4 commits into
task-33959266274-basefrom
task-33959266274-change

Conversation

@zyw-bot

@zyw-bot zyw-bot commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Please read the instructions in the README to reproduce the results locally.
cc @fhahn

Current: llvm/llvm-project@main...fhahn:ce-info-for-iv-latch-header
Baseline commit: llvm/llvm-project@d756ec0

Changes in statistics

Top changes:

Metric Baseline Current Change
loop-delete.NumBackedgesBroken 81092 78531 -3.16%
indvars.NumElimCmp 99988 97407 -2.58%
gvn.NumGVNBlocks 604918 599755 -0.85%
indvars.NumElimIdentity 6517 6509 -0.12%
loop-delete.NumDeleted 125194 125146 -0.04%
scalar-evolution.NumExitCountsComputed 7898265 7895554 -0.03%
scalar-evolution.NumBruteForceTripCountsComputed 24180 24174 -0.02%
indvars.NumReplaced 99538 99523 -0.02%
lcssa.NumLCSSA 19368414 19365988 -0.01%
loop-idiom.NumMemCpy 11109 11108 -0.01%
loop-unroll.NumUnrolledNotLatch 454 458 +0.88%
vector-combine.NumScalarIntrinsic 274 275 +0.36%
correlated-value-propagation.NumSIToFP 2138 2141 +0.14%
constraint-elimination.NumCondsRemoved 3606171 3608786 +0.07%
dfa-jump-threading.NumCloned 27352 27366 +0.05%
instcombine.NumConstProp 226786 226899 +0.05%
dfa-jump-threading.NumTransforms 2136 2137 +0.05%
sccp.NumInstRemoved 2732920 2733142 +0.01%
instsimplify.NumReassoc 1180041 1180121 +0.01%
instcombine.NumDeadInst 53235195 53238255 +0.01%

Diff report

Scope Files Added Lines Removed Lines
Original 152 2542 2566
Kept 106 1906 1905

Download the full diff list: z_fulldiff.csv

Delta Added Lines Removed Lines File
+49 266 217 llvm/TargetLoweringBase
+6 31 25 ffmpeg/formats
+1 4 3 llvm/MachineBlockPlacement
+1 7 6 gromacs/colvarbias_abf
+1 13 12 llvm/OMPIRBuilder
+0 1 1 cpp-httplib/httplib
+0 1 1 boost/flat_map_adaptor_test
+0 1 1 wireshark/packet-nvme
+0 1 1 fish-rs/fish-3db1312fccef457a.fish.60153328cb65e96a-cgu.07
+0 1 1 hermes/hermes_sandbox_impl_compiled_7
+0 1 1 boost/file_body
+0 1 1 stat-rs/statrs-c9f133f833af4886.statrs.6131f3d7c2ead0b9-cgu.05
+0 1 1 llvm/BinaryFunction
+0 1 1 llvm/InstrRefBasedImpl
+0 1 1 llvm/BinaryContext
+0 1 1 llvm/DWARFRewriter
+0 1 1 llvm/InlineFunction
+0 1 1 llvm/HexagonVectorCombine
+0 1 1 llvm/ScheduleDAGInstrs
+0 1 1 llvm/WebAssemblyCFGStackify
+0 1 1 llvm/PPCFrameLowering
+0 1 1 llvm/AffineDataCopyGeneration
+0 1 1 llvm/SIPreEmitPeephole
+0 1 1 llvm/SIPostRABundler
+0 1 1 llvm/MicroMipsSizeReduction
+0 2 2 velox/MmapArena
+0 2 2 llvm-test-suite/CabBlockInStream
+0 2 2 libigl/remesh_self_intersections
+0 2 2 gromacs/colvarparse
+0 2 2 llvm/LoopVectorize
+0 2 2 llvm/HexagonFrameLowering
+0 2 2 llvm/LoongArchInstrInfo
+0 2 2 llvm/DAGISelMatcherOpt
+0 2 2 llvm/PPCCTRLoops
+0 3 3 php/image
+0 3 3 hermes/hermes_sandbox_impl_compiled_3
+0 3 3 ffmpeg/vividas
+0 3 3 g2o/line3d
+0 3 3 llvm/GCNSchedStrategy
+0 3 3 llvm/SPIRVCanonicalization
+0 3 3 llvm/GCNIterativeScheduler
+0 3 3 llvm/HexagonVExtract
+0 4 4 openssl/drbg_hash
+0 4 4 opencv/graph_fusion_qdq
+0 4 4 tev/tiled
+0 4 4 boost/dynamic_body
+0 4 4 llvm/LoopAccessAnalysis
+0 4 4 llvm/RegisterCoalescer
+0 4 4 llvm/GCNHazardRecognizer
+0 4 4 llvm/MachineBasicBlock
+0 4 4 llvm/LiveIntervals
+0 5 5 ffmpeg/adpcm
+0 5 5 llvm/SelectionDAGBuilder
+0 6 6 lvgl/lv_draw_sw_utils
+0 6 6 tev/overlay
+0 6 6 llvm/LinalgTransformOps
+0 6 6 llvm/ParallelUtilities
+0 7 7 cmake/cmConditionEvaluator
+0 7 7 linux/intel_hdcp
+0 7 7 llvm/SystemZISelLowering
+0 7 7 llvm/X86SpeculativeLoadHardening
+0 7 7 llvm/MachineInstrBundle
+0 8 8 boost/http_examples
+0 8 8 llvm/RewriteInstance
+0 8 8 llvm/TargetRegistry
+0 9 9 llvm/MachineSink
+0 9 9 llvm/CoroSplit
+0 9 9 llvm/AArch64LoadStoreOptimizer
+0 10 10 boost/basic_parser
+0 10 10 g2o/types_seven_dof_expmap
+0 10 10 llvm/RISCVISelLowering
+0 10 10 llvm/CodeGenPrepare
+0 10 10 llvm/ModuloSchedule
+0 10 10 llvm/AtomicExpandPass
+0 11 11 darktable/thinplate
+0 11 11 llvm/LoongArchISelLowering
+0 11 11 llvm/IfConversion
+0 11 11 llvm/Replacement
+0 12 12 cpython/pystrhex
+0 12 12 llvm/RISCVFrameLowering
+0 12 12 llvm/BitTracker
+0 13 13 llvm/LoongArchFrameLowering
+0 15 15 abseil-cpp/linked_hash_map_test
+0 15 15 llvm/Scalarizer
+0 16 16 llvm/LanaiDelaySlotFiller
+0 18 18 gromacs/pme_spread
+0 21 21 llvm/SIWholeQuadMode
+0 21 21 llvm/Debugify
+0 21 21 llvm/ARMConstantIslandPass
+0 22 22 llvm/SimplifyCFG
+0 23 23 llvm/AMDGPURegBankLegalizeHelper
+0 27 27 llvm/ControlFlowOps
+0 35 35 linux/nfs4xdr
+0 46 46 llvm/VPlanVerifier
+0 60 60 openexr/ojph_precinct
+0 62 62 libigl/unproject
+0 81 81 ffmpeg/matroskaenc
+0 88 88 llvm/WebAssemblyDebugValueManager
+0 408 408 abc/utilPrefix
-1 11 12 llvm/X86FlagsCopyLowering
-1 117 118 llvm/MachineLoopInfo
-3 9 12 node/ieee754
-4 9 13 g2o/vertex_ellipse
-4 12 16 wolfssl/asn
-8 12 20 stat-rs/statrs-c9f133f833af4886.statrs.6131f3d7c2ead0b9-cgu.02
-36 65 101 tev/enc_group

Artifacts

Selected raw llvm-relaxed-diff outputs (11 file pairs, up to 100 MB) can be downloaded from https://github.com/dtcxzyw/llvm-opt-benchmark-nightly/actions/runs/33959266274.

Grouped changes

report: add > sub
report: add < sub
report: add == sub

fhahn added a commit to fhahn/llvm-project that referenced this pull request Sep 5, 2026
Remove the bail out for header == latch. We now support deriving facts
from the latch condition and the restriction is no longer necessary.

This enables inferring additional flags in a number of cases, and a few
additional folds in practice:
dtcxzyw/llvm-opt-benchmark-nightly#1200.

It also removes a surprising limitation when writing manual tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant