[llvm] 6d5b14d - [RISCV] Remove stale TODO from test. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 10 13:29:56 PDT 2021
Author: Craig Topper
Date: 2021-08-10T13:13:48-07:00
New Revision: 6d5b14d854e22e1cafce9131342594bd744b87f6
URL: https://github.com/llvm/llvm-project/commit/6d5b14d854e22e1cafce9131342594bd744b87f6
DIFF: https://github.com/llvm/llvm-project/commit/6d5b14d854e22e1cafce9131342594bd744b87f6.diff
LOG: [RISCV] Remove stale TODO from test. NFC
Added:
Modified:
llvm/test/CodeGen/RISCV/imm.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/RISCV/imm.ll b/llvm/test/CodeGen/RISCV/imm.ll
index b12ec7a25da7..ddc84775569a 100644
--- a/llvm/test/CodeGen/RISCV/imm.ll
+++ b/llvm/test/CodeGen/RISCV/imm.ll
@@ -171,9 +171,6 @@ define i64 @imm64_1() nounwind {
ret i64 2147483648 ; 0x8000_0000
}
-; TODO: This and similar constants with all 0s in the upper bits and all 1s in
-; the lower bits could be lowered to addi a0, zero, -1 followed by a logical
-; right shift.
define i64 @imm64_2() nounwind {
; RV32I-LABEL: imm64_2:
; RV32I: # %bb.0:
More information about the llvm-commits
mailing list