[all-commits] [llvm/llvm-project] f70238: [RISCV] Add zext.h/zext.w to RISCVTTIImpl::getIntI...
Craig Topper via All-commits
all-commits at lists.llvm.org
Wed Aug 18 09:40:54 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f70238914ace48a9d75ecaee68c76320c42af4e7
https://github.com/llvm/llvm-project/commit/f70238914ace48a9d75ecaee68c76320c42af4e7
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-08-18 (Wed, 18 Aug 2021)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/test/Transforms/ConstantHoisting/RISCV/immediates.ll
Log Message:
-----------
[RISCV] Add zext.h/zext.w to RISCVTTIImpl::getIntImmCostInst.
If we have these instructions, we don't need to hoist the immediate
for an AND that would match them.
Reviewed By: luismarques
Differential Revision: https://reviews.llvm.org/D107783
More information about the All-commits
mailing list