HomePhabricator

Correct NumLoads in clustering

Authored by rampitec on Jan 24 2020, 12:02 PM.

Description

Correct NumLoads in clustering

Scheduler sends NumLoads argument into shouldClusterMemOps()
one less the actual cluster length. So for 2 instructions
it will pass just 1. Correct this number.

This is NFC for in tree targets.

Differential Revision: https://reviews.llvm.org/D73292

Details

Committed
rampitecJan 24 2020, 12:45 PM
Differential Revision
D73292: [AMDGPU] Correct NumLoads in clustering
Parents
rG9c346464c15c: TableGen/GlobalISel: Handle non-leaf EXTRACT_SUBREG
Branches
Unknown
Tags
Unknown