Skip to content

Commit f024aab

Browse files
committed
[RISCV] Remove the TODO that lbu and lhu should be selected to avoid the unnecessary masking. NFC.
RISCVTargetLowering::isZExtFree has been implemented in 15e894b.
1 parent 2ba20c5 commit f024aab

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/test/CodeGen/RISCV/zext-with-load-is-free.ll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
; RUN: llc -mtriple=riscv32 -verify-machineinstrs < %s \
33
; RUN: | FileCheck %s -check-prefix=RV32I
44

5-
; TODO: lbu and lhu should be selected to avoid the unnecessary masking.
6-
75
@bytes = dso_local global [5 x i8] zeroinitializer, align 1
86

97
define dso_local i32 @test_zext_i8() nounwind {

0 commit comments

Comments
 (0)