[PATCH] D117947: [RISCV] Don't allow i64 vector div by constant to use mulh with Zve64x

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 23 22:31:13 PST 2022


craig.topper added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/rvv/vdiv-sdnode.ll:3
+; RUN: llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs < %s | FileCheck %s --check-prefixes=CHECK,RV32,V,RV32-V
+; RUN: llc -mtriple=riscv32 -mattr=+zve64x -verify-machineinstrs < %s | FileCheck %s --check-prefixes=CHECK,RV32,ZVE64X,RV32-ZVE64X
+; RUN: llc -mtriple=riscv64 -mattr=+v -verify-machineinstrs < %s | FileCheck %s --check-prefixes=CHECK,RV64,V,RV64-V
----------------
Did you run the make check-llvm after running the script? FileCheck doesn't like prefixes to appear in check-prefixes if it doesn't appear in the test file. RV32-ZVE64X does not appear on any lines.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117947/new/

https://reviews.llvm.org/D117947



More information about the llvm-commits mailing list