[llvm] 0b4cfd1 - [RISCV] Remove stale TODO from test. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon May 19 14:14:56 PDT 2025
Author: Craig Topper
Date: 2025-05-19T14:14:47-07:00
New Revision: 0b4cfd19f237fbbffb6e49b82dd91ee65e1e43a2
URL: https://github.com/llvm/llvm-project/commit/0b4cfd19f237fbbffb6e49b82dd91ee65e1e43a2
DIFF: https://github.com/llvm/llvm-project/commit/0b4cfd19f237fbbffb6e49b82dd91ee65e1e43a2.diff
LOG: [RISCV] Remove stale TODO from test. NFC
MachineSink has folded this ADDI since 5b53fa04db33a931b843b32946065490513484bf.
Added:
Modified:
llvm/test/CodeGen/RISCV/fold-addi-loadstore.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/RISCV/fold-addi-loadstore.ll b/llvm/test/CodeGen/RISCV/fold-addi-loadstore.ll
index 255e65490195c..291c8c3d7c90f 100644
--- a/llvm/test/CodeGen/RISCV/fold-addi-loadstore.ll
+++ b/llvm/test/CodeGen/RISCV/fold-addi-loadstore.ll
@@ -1139,8 +1139,6 @@ entry:
br i1 %cmp4, label %for.body.lr.ph, label %for.cond.cleanup
for.body.lr.ph: ; preds = %entry
- ; TODO: when this GEP is expanded, the resulting `addi` should be folded
- ; into the load in the loop body.
%y = getelementptr inbounds %struct.S, ptr %a, i64 %k, i32 1
br label %for.body
More information about the llvm-commits
mailing list