[all-commits] [llvm/llvm-project] 9c3454: [RISCV] Remove RISCVII:VSEW enum. Make encodeVYPE ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Wed May 12 13:24:06 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9c345407b4999e62e51667927f531b891363569b
https://github.com/llvm/llvm-project/commit/9c345407b4999e62e51667927f531b891363569b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-05-12 (Wed, 12 May 2021)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Remove RISCVII:VSEW enum. Make encodeVYPE operate directly on SEW.
The VSEW encoding isn't a useful value to pass around. It's better
to use SEW or log2(SEW) directly. The only real ugliness is that
the vsetvli IR intrinsics use the VSEW encoding, but it's easy
enough to decode that when the intrinsic is processed.
More information about the All-commits
mailing list