[all-commits] [llvm/llvm-project] 38b30e: [LowerMatrixIntrinsics] Call getRegisterClassForTy...
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Jan 10 15:32:54 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 38b30eb2b218ad481855d5c691ef4501711ca3a6
https://github.com/llvm/llvm-project/commit/38b30eb2b218ad481855d5c691ef4501711ca3a6
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-01-10 (Mon, 10 Jan 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
Log Message:
-----------
[LowerMatrixIntrinsics] Call getRegisterClassForType before getNumberOfRegisters.
getNumberOfRegisters takes a ClassID as it's argument. It shouldn't be passed a bool. Assuming the bool meant vector or not, we should call getRegisterClassForType first.
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D116903
More information about the All-commits
mailing list