If we have these instructions, we don't need to hoist the immediate
for an AND that would match them.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D107783
[RISCV] Add zext.h/zext.w to RISCVTTIImpl::getIntImmCostInst. ClosedPublic Authored by craig.topper on Aug 9 2021, 2:10 PM.
Details Summary If we have these instructions, we don't need to hoist the immediate
Diff Detail
Event TimelineHerald added subscribers: StephenFan, vkmr, frasercrmck and 22 others. · View Herald TranscriptAug 9 2021, 2:10 PM This revision is now accepted and ready to land.Aug 18 2021, 5:42 AM Closed by commit rGf70238914ace: [RISCV] Add zext.h/zext.w to RISCVTTIImpl::getIntImmCostInst. (authored by craig.topper). · Explain WhyAug 18 2021, 9:40 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 367235 llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
llvm/test/Transforms/ConstantHoisting/RISCV/immediates.ll
|