[all-commits] [llvm/llvm-project] be8e38: Correct NumLoads in clustering
Stanislav Mekhanoshin via All-commits
all-commits at lists.llvm.org
Fri Jan 24 12:45:45 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: be8e38cbd9785d4f4023b88150d14bd815265eef
https://github.com/llvm/llvm-project/commit/be8e38cbd9785d4f4023b88150d14bd815265eef
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2020-01-24 (Fri, 24 Jan 2020)
Changed paths:
M llvm/include/llvm/CodeGen/TargetInstrInfo.h
M llvm/lib/CodeGen/MachineScheduler.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
Log Message:
-----------
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
More information about the All-commits
mailing list