Skip to content

Commit 603eec4

Browse files
committed
FeaturePermissiveZalrsc does not imply FeatureStdExtZalrsc
1 parent c656689 commit 603eec4

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

llvm/lib/Target/RISCV/RISCVFeatures.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1923,8 +1923,7 @@ def HasAtomicLdSt
19231923
def FeaturePermissiveZalrsc
19241924
: SubtargetFeature<
19251925
"permissive-zalrsc", "HasPermissiveZalrsc", "true",
1926-
"Implementation permits non-base instructions between LR/SC pairs",
1927-
[FeatureStdExtZalrsc]>;
1926+
"Implementation permits non-base instructions between LR/SC pairs">;
19281927

19291928
def FeatureTaggedGlobals : SubtargetFeature<"tagged-globals",
19301929
"AllowTaggedGlobals",

llvm/test/CodeGen/RISCV/atomic-rmw-minmax.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
22
; RUN: llc -mtriple=riscv32 -mattr=+b,+zalrsc -verify-machineinstrs < %s \
33
; RUN: | FileCheck -check-prefixes=RV32IB-COMMON,RV32IB-ZALRSC %s
4-
; RUN: llc -mtriple=riscv32 -mattr=+b,+permissive-zalrsc -verify-machineinstrs < %s \
4+
; RUN: llc -mtriple=riscv32 -mattr=+b,+zalrsc,+permissive-zalrsc -verify-machineinstrs < %s \
55
; RUN: | FileCheck -check-prefixes=RV32IB-COMMON,RV32IB-ZALRSC-PERM %s
6-
; RUN: llc -mtriple=riscv32 -mattr=+b,+permissive-zalrsc,+a -verify-machineinstrs < %s \
6+
; RUN: llc -mtriple=riscv32 -mattr=+b,+zalrsc,+permissive-zalrsc,+a -verify-machineinstrs < %s \
77
; RUN: | FileCheck -check-prefixes=RV32IB-COMMON,RV32IAB %s
88
;
99
; RUN: llc -mtriple=riscv64 -mattr=+b,+zalrsc -verify-machineinstrs < %s \
1010
; RUN: | FileCheck -check-prefixes=RV64IB-ZALRSC %s
11-
; RUN: llc -mtriple=riscv64 -mattr=+b,+permissive-zalrsc -verify-machineinstrs < %s \
11+
; RUN: llc -mtriple=riscv64 -mattr=+b,+zalrsc,+permissive-zalrsc -verify-machineinstrs < %s \
1212
; RUN: | FileCheck -check-prefixes=RV64IB-ZALRSC-PERM %s
13-
; RUN: llc -mtriple=riscv64 -mattr=+b,+permissive-zalrsc,+a -verify-machineinstrs < %s \
13+
; RUN: llc -mtriple=riscv64 -mattr=+b,+zalrsc,+permissive-zalrsc,+a -verify-machineinstrs < %s \
1414
; RUN: | FileCheck -check-prefixes=RV64IAB %s
1515

1616
define i32 @atomicrmw_max_i32_seq_cst(ptr %a, i32 %b) nounwind {

0 commit comments

Comments
 (0)