Skip to content

Commit da837f3

Browse files
committed
fixup! Rename to TuneHasSingleElementVecFP64
1 parent ad7940b commit da837f3

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

llvm/lib/Target/RISCV/RISCVFeatures.td

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1823,9 +1823,10 @@ def TuneConditionalCompressedMoveFusion
18231823
def HasConditionalMoveFusion : Predicate<"Subtarget->hasConditionalMoveFusion()">;
18241824
def NoConditionalMoveFusion : Predicate<"!Subtarget->hasConditionalMoveFusion()">;
18251825

1826-
def TuneHasThrottledVecFP64
1827-
: SubtargetFeature<"throttled-vec-fp64", "HasThrottledVectorFP64", "true",
1828-
"Certain vector FP64 operations have limited performance">;
1826+
def TuneHasSingleElementVecFP64
1827+
: SubtargetFeature<"single-element-vec-fp64", "HasSingleElementVectorFP64", "true",
1828+
"Certain vector FP64 operations produce a single result "
1829+
"element per cycle">;
18291830

18301831
def TuneMIPSP8700
18311832
: SubtargetFeature<"mips-p8700", "RISCVProcFamily", "MIPSP8700",

llvm/test/CodeGen/RISCV/features-info.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@
142142
; CHECK-NEXT: shvstvecd - 'Shvstvecd' (vstvec supports Direct mode).
143143
; CHECK-NEXT: shxadd-load-fusion - Enable SH(1|2|3)ADD(.UW) + load macrofusion.
144144
; CHECK-NEXT: sifive7 - SiFive 7-Series processors.
145+
; CHECK-NEXT: single-element-vec-fp64 - Certain vector FP64 operations produce a single result element per cycle.
145146
; CHECK-NEXT: smaia - 'Smaia' (Advanced Interrupt Architecture Machine Level).
146147
; CHECK-NEXT: smcdeleg - 'Smcdeleg' (Counter Delegation Machine Level).
147148
; CHECK-NEXT: smcntrpmf - 'Smcntrpmf' (Cycle and Instret Privilege Mode Filtering).
@@ -179,7 +180,6 @@
179180
; CHECK-NEXT: svpbmt - 'Svpbmt' (Page-Based Memory Types).
180181
; CHECK-NEXT: svvptc - 'Svvptc' (Obviating Memory-Management Instructions after Marking PTEs Valid).
181182
; CHECK-NEXT: tagged-globals - Use an instruction sequence for taking the address of a global that allows a memory tag in the upper address bits.
182-
; CHECK-NEXT: throttled-vec-fp64 - Certain vector FP64 operations have limited performance.
183183
; CHECK-NEXT: unaligned-scalar-mem - Has reasonably performant unaligned scalar loads and stores.
184184
; CHECK-NEXT: unaligned-vector-mem - Has reasonably performant unaligned vector loads and stores.
185185
; CHECK-NEXT: use-postra-scheduler - Schedule again after register allocation.

0 commit comments

Comments
 (0)