[all-commits] [llvm/llvm-project] caaba2: [RISCV] Replace VNCLIP RISCVISD opcodes with TRUNC...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Jul 23 14:57:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: caaba2a8839ad000ddfc48be093c5d07f032c9e8
      https://github.com/llvm/llvm-project/commit/caaba2a8839ad000ddfc48be093c5d07f032c9e8
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td

  Log Message:
  -----------
  [RISCV] Replace VNCLIP RISCVISD opcodes with TRUNCATE_VECTOR_VL_SSAT/USAT opcodes (#100173)

These new opcodes drop the shift amount, rounding mode, and passthru.
Making them exactly like TRUNCATE_VECTOR_VL. The shift amount, rounding
mode, and passthru are added in isel patterns similar to how we
translate TRUNCATE_VECTOR_VL to vnsrl with a shift of 0.

This should simplify #99418 a little.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list