[all-commits] [llvm/llvm-project] c266e5: [RISCV] Remove ExtZvl enum from RISCVSubtarget. NFC

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Apr 11 10:15:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c266e504309fbbc5a7cf7c8e7bf4a70658c1dd91
      https://github.com/llvm/llvm-project/commit/c266e504309fbbc5a7cf7c8e7bf4a70658c1dd91
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-04-11 (Mon, 11 Apr 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCV.td
    M llvm/lib/Target/RISCV/RISCVSubtarget.h

  Log Message:
  -----------
  [RISCV] Remove ExtZvl enum from RISCVSubtarget. NFC

Having an enum with names that contain the string representation
of their value doesn't add any value. We can just use the numbers.

Reviewed By: kito-cheng, frasercrmck

Differential Revision: https://reviews.llvm.org/D123417


  Commit: 76192182d0ca8e0c82c6d7aa9c11de07328b4c62
      https://github.com/llvm/llvm-project/commit/76192182d0ca8e0c82c6d7aa9c11de07328b4c62
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-04-11 (Mon, 11 Apr 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVSubtarget.cpp
    M llvm/lib/Target/RISCV/RISCVSubtarget.h
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitcast.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-elen.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-buildvec.ll

  Log Message:
  -----------
  [RISCV] Remove riscv-v-fixed-length-vector-elen-max command line option.

This was added before Zve extensions were defined. I think users
should use Zve32x or Zve32f now. Though we will lose support for limiting
ELEN to 16 or 8, but I hope no one was using that.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D123418


Compare: https://github.com/llvm/llvm-project/compare/373d08adb445...76192182d0ca


More information about the All-commits mailing list