Skip to content

Commit 659dbb6

Browse files
committed
[RISCV] Remove unnecessary patterns from RISCVInstrInfoA.td. NFC
Looks like they got left behind in the Zalasr patch after I removed i32 patterns for RV64.
1 parent f9a9173 commit 659dbb6

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoA.td

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -429,14 +429,3 @@ def : Pat<(int_riscv_masked_cmpxchg_i64
429429
(PseudoMaskedCmpXchg32
430430
GPR:$addr, GPR:$cmpval, GPR:$newval, GPR:$mask, timm:$ordering)>;
431431
} // Predicates = [HasStdExtA, IsRV64]
432-
433-
let Predicates = [HasAtomicLdSt] in {
434-
def : LdPat<relaxed_load<atomic_load_8>, LB, i32>;
435-
def : LdPat<relaxed_load<atomic_load_16>, LH, i32>;
436-
def : LdPat<relaxed_load<atomic_load_32>, LW, i32>;
437-
438-
def : StPat<relaxed_store<atomic_store_8>, SB, GPR, i32>;
439-
def : StPat<relaxed_store<atomic_store_16>, SH, GPR, i32>;
440-
def : StPat<relaxed_store<atomic_store_32>, SW, GPR, i32>;
441-
}
442-

0 commit comments

Comments
 (0)