[all-commits] [llvm/llvm-project] 3265df: [RISCV] Add signext attribute to return of fmv_x_w...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Aug 14 14:33:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3265dfe3e620d526ca15dcecaa1c68e63ceaba45
      https://github.com/llvm/llvm-project/commit/3265dfe3e620d526ca15dcecaa1c68e63ceaba45
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-08-14 (Wed, 14 Aug 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/float-convert.ll

  Log Message:
  -----------
  [RISCV] Add signext attribute to return of fmv_x_w test in float-convert.ll. NFC

This shows that Zfinx generates a sext.w instruction on RV64.
The fadd.s should have filled the upper bits of the GPR with sign
bits so this is unnecessary. Proving it is unnecessary might be
difficult though.



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