Skip to content

Commit 8daee40

Browse files
committed
Update code comments (addressing review comments)
1 parent 99058a3 commit 8daee40

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1852,7 +1852,6 @@ bool AArch64TargetLowering::shouldExpandGetActiveLaneMask(EVT ResVT,
18521852
}
18531853

18541854
bool AArch64TargetLowering::shouldExpandCttzElements(EVT VT) const {
1855-
// Only SVE and SME architectures support BRKB and CNTP instructions.
18561855
if (!Subtarget->hasSVEorSME())
18571856
return true;
18581857

llvm/test/CodeGen/AArch64/intrinsic-cttz-elts-sve.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ define i64 @vscale_4096_poison(<vscale x 16 x i8> %a) #1 {
137137
ret i64 %res
138138
}
139139

140-
; MATCH WITH BRKB + CNTP
140+
; EFFICIENT LOWERING USING BRKB
141141

142142
define i32 @ctz_nxv2i1(<vscale x 2 x i1> %a) {
143143
; CHECK-LABEL: ctz_nxv2i1:

0 commit comments

Comments
 (0)