By default we return the width of an LMUL=1 register. We can enable
testing with larger LMUL values by returning a larger bit width.
This patch adds a RISCV specific option to provide a LMUL which will be
multiplied by the LMUL=1 bit width.
Paths
| Differential D116339
[RISCV] Add a command line option to control the LMUL used by TTI's getRegisterBitWidth. ClosedPublic Authored by craig.topper on Dec 28 2021, 11:55 AM.
Details Summary By default we return the width of an LMUL=1 register. We can enable This patch adds a RISCV specific option to provide a LMUL which will be
Diff Detail
Event TimelineHerald added subscribers: VincentWu, luke957, achieveartificialintelligence and 25 others. · View Herald TranscriptDec 28 2021, 11:55 AM Comment Actions LGTM, I think it's good start to utilizing the feature of LMUL in vector extension for auto vectorization. This revision is now accepted and ready to land.Jan 7 2022, 7:19 PM This revision was landed with ongoing or failed builds.Jan 7 2022, 8:02 PM Closed by commit rG042394b69e99: [RISCV] Add a command line option to control the LMUL used by TTI's… (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 398294 llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
llvm/test/Transforms/LoopVectorize/RISCV/riscv-unroll.ll
|