[llvm] b11b842 - [RISCV] Remove unneeded TODOs from float-imm.ll and half-imm.ll. NFC.

Jim Lin via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 6 23:50:58 PDT 2025


Author: Jim Lin
Date: 2025-10-07T14:50:27+08:00
New Revision: b11b8423a9b06d479138d18ebe0258fdda20c176

URL: https://github.com/llvm/llvm-project/commit/b11b8423a9b06d479138d18ebe0258fdda20c176
DIFF: https://github.com/llvm/llvm-project/commit/b11b8423a9b06d479138d18ebe0258fdda20c176.diff

LOG: [RISCV] Remove unneeded TODOs from float-imm.ll and half-imm.ll. NFC.

After https://github.com/llvm/llvm-project/commit/c2e84072bdbad264639a757ccd39f403aaa05319,
it didn't use constant pool at all.

Added: 
    

Modified: 
    llvm/test/CodeGen/RISCV/float-imm.ll
    llvm/test/CodeGen/RISCV/half-imm.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/RISCV/float-imm.ll b/llvm/test/CodeGen/RISCV/float-imm.ll
index e4e34543d6314..a1737325d8aa5 100644
--- a/llvm/test/CodeGen/RISCV/float-imm.ll
+++ b/llvm/test/CodeGen/RISCV/float-imm.ll
@@ -8,7 +8,6 @@
 ; RUN: llc -mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs < %s \
 ; RUN:   -target-abi=lp64 | FileCheck --check-prefixes=CHECKZFINX,RV64ZFINX %s
 
-; TODO: constant pool shouldn't be necessary for RV64IF.
 define float @float_imm() nounwind {
 ; CHECK-LABEL: float_imm:
 ; CHECK:       # %bb.0:

diff  --git a/llvm/test/CodeGen/RISCV/half-imm.ll b/llvm/test/CodeGen/RISCV/half-imm.ll
index 1dc0da8c04dba..fc2c017d1c400 100644
--- a/llvm/test/CodeGen/RISCV/half-imm.ll
+++ b/llvm/test/CodeGen/RISCV/half-imm.ll
@@ -20,7 +20,6 @@
 ; RUN:   -target-abi lp64 < %s \
 ; RUN:   | FileCheck -check-prefixes=CHECKIZHINXMIN,RV64IZHINXMIN %s
 
-; TODO: constant pool shouldn't be necessary for RV32IZfh and RV64IZfh
 define half @half_imm() nounwind {
 ; CHECK-LABEL: half_imm:
 ; CHECK:       # %bb.0:


        


More information about the llvm-commits mailing list