aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2020-12-14 10:04:44 -0800
committerCraig Topper <craig.topper@sifive.com>2020-12-14 10:50:26 -0800
commit045304701bc60620c0c0f79126f7c36d883b63ff (patch)
treefee09af2dfcda83b09d2d611281a9017c14d64f7 /clang/lib/Lex/ModuleMap.cpp
parentf276c008984dd02bb54707b2ace858cac5412e7e (diff)
downloadllvm-045304701bc60620c0c0f79126f7c36d883b63ff.zip
llvm-045304701bc60620c0c0f79126f7c36d883b63ff.tar.gz
llvm-045304701bc60620c0c0f79126f7c36d883b63ff.tar.bz2
[RISCV] Move vtype decoding and printing from RISCVInstPrinter to RISCVBaseInfo. Share with the assembly parser's debug output
This moves the vtype decoding and printing to RISCVBaseInfo. This keeps all of the decoding code in the same area as the encoding code. This will make it easier to change the decoding for the 1.0 spec in the future. We're now sharing the printing with the debug output for operands in the assembler. This also fixes that debug output to include the tail and mask agnostic bits. Since the printing code works on the vtype immediate value, we now encode the immediate during parsing and store just the immediate in the operand.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions