[llvm] 683cbc1 - [RISCV] Remove stale comments from tests. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 18 13:48:12 PST 2021
Author: Craig Topper
Date: 2021-12-18T13:36:03-08:00
New Revision: 683cbc12b33e5c8dc8d29bf5ed79fbf45763aadd
URL: https://github.com/llvm/llvm-project/commit/683cbc12b33e5c8dc8d29bf5ed79fbf45763aadd
DIFF: https://github.com/llvm/llvm-project/commit/683cbc12b33e5c8dc8d29bf5ed79fbf45763aadd.diff
LOG: [RISCV] Remove stale comments from tests. NFC
The tests no longer generate the instructions that are mentioned
in the comments.
Added:
Modified:
llvm/test/CodeGen/RISCV/double-convert.ll
llvm/test/CodeGen/RISCV/float-convert.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/RISCV/double-convert.ll b/llvm/test/CodeGen/RISCV/double-convert.ll
index 55a4e983037f..f9d4c9a8d5d4 100644
--- a/llvm/test/CodeGen/RISCV/double-convert.ll
+++ b/llvm/test/CodeGen/RISCV/double-convert.ll
@@ -88,8 +88,6 @@ define double @fcvt_d_s(float %a) nounwind {
ret double %1
}
-; For RV64D, fcvt.l.d is semantically equivalent to fcvt.w.d in this case
-; because fptosi will produce poison if the result doesn't fit into an i32.
define i32 @fcvt_w_d(double %a) nounwind {
; RV32IFD-LABEL: fcvt_w_d:
; RV32IFD: # %bb.0:
diff --git a/llvm/test/CodeGen/RISCV/float-convert.ll b/llvm/test/CodeGen/RISCV/float-convert.ll
index f79afd41811b..fe0cd8d2533f 100644
--- a/llvm/test/CodeGen/RISCV/float-convert.ll
+++ b/llvm/test/CodeGen/RISCV/float-convert.ll
@@ -8,8 +8,6 @@
; RUN: llc -mtriple=riscv64 -verify-machineinstrs < %s \
; RUN: | FileCheck -check-prefix=RV64I %s
-; For RV64F, fcvt.l.s is semantically equivalent to fcvt.w.s in this case
-; because fptosi will produce poison if the result doesn't fit into an i32.
define i32 @fcvt_w_s(float %a) nounwind {
; RV32IF-LABEL: fcvt_w_s:
; RV32IF: # %bb.0:
More information about the llvm-commits
mailing list