[llvm] f024aab - [RISCV] Remove the TODO that lbu and lhu should be selected to avoid the unnecessary masking. NFC.
Jim Lin via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 20 20:18:48 PDT 2025
Author: Jim Lin
Date: 2025-04-21T11:02:04+08:00
New Revision: f024aab844ab89ab6455ddf1e2232a957c72328e
URL: https://github.com/llvm/llvm-project/commit/f024aab844ab89ab6455ddf1e2232a957c72328e
DIFF: https://github.com/llvm/llvm-project/commit/f024aab844ab89ab6455ddf1e2232a957c72328e.diff
LOG: [RISCV] Remove the TODO that lbu and lhu should be selected to avoid the unnecessary masking. NFC.
RISCVTargetLowering::isZExtFree has been implemented in
https://github.com/llvm/llvm-project/commit/15e894baeeb96612ae471fa83d1729a2d3388fc8.
Added:
Modified:
llvm/test/CodeGen/RISCV/zext-with-load-is-free.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/RISCV/zext-with-load-is-free.ll b/llvm/test/CodeGen/RISCV/zext-with-load-is-free.ll
index 771a72f8d55f0..abd49d6bf7575 100644
--- a/llvm/test/CodeGen/RISCV/zext-with-load-is-free.ll
+++ b/llvm/test/CodeGen/RISCV/zext-with-load-is-free.ll
@@ -2,8 +2,6 @@
; RUN: llc -mtriple=riscv32 -verify-machineinstrs < %s \
; RUN: | FileCheck %s -check-prefix=RV32I
-; TODO: lbu and lhu should be selected to avoid the unnecessary masking.
-
@bytes = dso_local global [5 x i8] zeroinitializer, align 1
define dso_local i32 @test_zext_i8() nounwind {
More information about the llvm-commits
mailing list