[all-commits] [llvm/llvm-project] 7709d3: Revert "[RISCV] Move some test cases from rv64i-si...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Nov 4 20:02:03 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7709d306418154780aac5a6947d300a705cccbb8
      https://github.com/llvm/llvm-project/commit/7709d306418154780aac5a6947d300a705cccbb8
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2020-11-04 (Wed, 04 Nov 2020)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rv64i-single-softfloat.ll

  Log Message:
  -----------
  Revert "[RISCV] Move some test cases from rv64i-single-softfloat.ll to a new rv64i-double-softfloat.ll. NFC"

I failed to git add the new test file.

This reverts commit 36072cc0a487fb5ad315d264064daa73d916469c.


  Commit: 574de837d4bfd906b88352dc0ea7929917ce7f67
      https://github.com/llvm/llvm-project/commit/574de837d4bfd906b88352dc0ea7929917ce7f67
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2020-11-04 (Wed, 04 Nov 2020)

  Changed paths:
    A llvm/test/CodeGen/RISCV/rv64i-double-softfloat.ll
    M llvm/test/CodeGen/RISCV/rv64i-single-softfloat.ll

  Log Message:
  -----------
  Recommit "[RISCV] Move some test cases from rv64i-single-softfloat.ll to a new rv64i-double-softfloat.ll. NFC""

With new test file this time.

Original message

This new test covers both with and without the F extension enabled.

This shows that the fptosi/fptoui for double->i32 use a different
libcall depending on whether the F extension is enabled. If it's
not enabled we use the 'si' library call. If it is enabled we use 'di'.


Compare: https://github.com/llvm/llvm-project/compare/36072cc0a487...574de837d4bf


More information about the All-commits mailing list