Skip to content

Commit 1a343c9

Browse files
authored
[X86] LowerVectorCTLZInRegLUT - fix: typo "CLTZ"-> "CTLZ" (llvm#90051)
1 parent bd53c7c commit 1a343c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27896,7 +27896,7 @@ static SDValue LowerVectorCTLZInRegLUT(SDValue Op, const SDLoc &DL,
2789627896
SDValue InRegLUT = DAG.getBuildVector(CurrVT, DL, LUTVec);
2789727897

2789827898
// Begin by bitcasting the input to byte vector, then split those bytes
27899-
// into lo/hi nibbles and use the PSHUFB LUT to perform CLTZ on each of them.
27899+
// into lo/hi nibbles and use the PSHUFB LUT to perform CTLZ on each of them.
2790027900
// If the hi input nibble is zero then we add both results together, otherwise
2790127901
// we just take the hi result (by masking the lo result to zero before the
2790227902
// add).

0 commit comments

Comments
 (0)