aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/LangOptions.cpp
diff options
context:
space:
mode:
authorHsiangkai Wang <kai.wang@sifive.com>2021-01-22 22:38:11 +0800
committerHsiangkai Wang <kai.wang@sifive.com>2021-01-26 15:48:35 +0800
commite72b22a40b09f533cbcf2517800692ce0fddff7e (patch)
tree7233b84319921a66bf3714db3a45023847e15044 /clang/lib/Basic/LangOptions.cpp
parentb61639985e216e75727f623174ec32a2a7cf40e3 (diff)
downloadllvm-e72b22a40b09f533cbcf2517800692ce0fddff7e.zip
llvm-e72b22a40b09f533cbcf2517800692ce0fddff7e.tar.gz
llvm-e72b22a40b09f533cbcf2517800692ce0fddff7e.tar.bz2
[RISCV] Define different pseudo instructions for different FPR.
When spilling, the spill size will depend on the size of register class. For .vf vector instructions, it may spill the floating point scalar argument. In order to use the correct load/store instructions for spilling, we need to provide the correct floating point register class for the .vf vector pseudo instructions. In this commit, we define the .vf pseudo instructions as three different kinds of pseudo instructions for half/float/double. For example, PseudoVFADD_M1 will become as PseudoVFADD_F16_M1, PseudoVFADD_F32_M1, and PseudoVFADD_F64_M1. Differential Revision: https://reviews.llvm.org/D95234
Diffstat (limited to 'clang/lib/Basic/LangOptions.cpp')
0 files changed, 0 insertions, 0 deletions