aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMichael Maitland <michaeltmaitland@gmail.com>2022-10-25 18:43:00 -0700
committerMichael Maitland <michaeltmaitland@gmail.com>2022-11-03 09:18:42 -0700
commit0eb2f663d27432111e3f0f68a0d586ade4c8036e (patch)
treefe2da68c3ee1540140f093ff09dba6a9777eeb76 /flang/lib/Frontend/CompilerInvocation.cpp
parente7deca525058778df15e7888ed24974a32c8686c (diff)
downloadllvm-0eb2f663d27432111e3f0f68a0d586ade4c8036e.zip
llvm-0eb2f663d27432111e3f0f68a0d586ade4c8036e.tar.gz
llvm-0eb2f663d27432111e3f0f68a0d586ade4c8036e.tar.bz2
[RISCV][CodeGen] Account for LMUL for Vector Integer Arithmetic Instructions
It is likley that subtargets act differently for a vector integer arithmetic instruction based on the LMUL. This patch creates seperate SchedRead, SchedWrite, WriteRes, ReadAdvance for each relevant LMUL. It also introduces the concept of an "UpperBound LMUL" which allows us to describe how an instruction should behave when the LMUL is unknown. All base instructions use the UpperBound resources because they are not tied to a specific LMUL. This gives subtargetes the flexibility to describe their own upper bounds on each vector instruction. I have a series of patches for the rest of the vector instruction set ready to go, but I would like to first get feedback on the first one of the series (this one). Differential Revision: https://reviews.llvm.org/D136730
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions