[all-commits] [llvm/llvm-project] 3e450d: [RISCV][NFC] Unify compatibility checks under one ...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Fri May 27 03:32:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e450d9cbbc00b78eebe122cdbec70bd315167e3
      https://github.com/llvm/llvm-project/commit/3e450d9cbbc00b78eebe122cdbec70bd315167e3
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2022-05-27 (Fri, 27 May 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

  Log Message:
  -----------
  [RISCV][NFC] Unify compatibility checks under one function

Split off from D125021.

We were duplicating logic across different phases. Since we want to
ensure a consistency of logic across phases for correctness, this patch
combines our multiple compatibility checks into one function to better
convey this.

Several methods were made const too.

Reviewed By: reames

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




More information about the All-commits mailing list