[all-commits] [llvm/llvm-project] 622d68: [RISCV] Revise RISCVInstPrinter::printVTypeI to no...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Dec 7 09:41:19 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 622d6894801b19e795737e133f5963d248de45af
      https://github.com/llvm/llvm-project/commit/622d6894801b19e795737e133f5963d248de45af
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-12-07 (Tue, 07 Dec 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp

  Log Message:
  -----------
  [RISCV] Revise RISCVInstPrinter::printVTypeI to not assume there are 3 invalid vtype bits.

Instead of checking [10:8]. Check for non-zero in 8 and above.

Addresses a post-commit comment from @jrtc27 in D114581.




More information about the All-commits mailing list