Skip to content

Commit 28988cc

Browse files
committed
Fix bracket comment
1 parent b30012f commit 28988cc

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
@@ -54653,7 +54653,7 @@ static SDValue combineTruncate(SDNode *N, SelectionDAG &DAG,
5465354653
if (SDValue V = combinePMULH(Src, VT, DL, DAG, Subtarget))
5465454654
return V;
5465554655

54656-
// Fold trunc(srl(load(p),amt) -> load(p+amt/8)
54656+
// Fold trunc(srl(load(p),amt)) -> load(p+amt/8)
5465754657
// If we're shifting down whole byte+pow2 aligned bit chunks from a larger
5465854658
// load for truncation, see if we can convert the shift into a pointer
5465954659
// offset instead. Limit this to normal (non-ext) scalar integer loads.

0 commit comments

Comments
 (0)