[all-commits] [llvm/llvm-project] 206f10: Plumb InstructionCost through unroll costing
Philip Reames via All-commits
all-commits at lists.llvm.org
Thu Jun 9 15:43:12 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 206f10d3f6aa3fe4bf963675fe579e7554bad330
https://github.com/llvm/llvm-project/commit/206f10d3f6aa3fe4bf963675fe579e7554bad330
Author: Philip Reames <preames at rivosinc.com>
Date: 2022-06-09 (Thu, 09 Jun 2022)
Changed paths:
M llvm/include/llvm/Transforms/Utils/UnrollLoop.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
M llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
A llvm/test/Transforms/LoopUnroll/RISCV/invalid-cost.ll
Log Message:
-----------
Plumb InstructionCost through unroll costing
Teach the unroller(s) how to handle an invalid cost. This avoids crashes when the backend can't provide a cost due to either a fundemental limitation or an unimplemented cost model case.
Differential Revision: https://reviews.llvm.org/D127305
More information about the All-commits
mailing list