Skip to content

Commit e86ca2b

Browse files
committed
Fix header comment to appease doxygen
1 parent 8c9fcd9 commit e86ca2b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -436,14 +436,14 @@ static Instruction *foldVecTruncToExtElt(TruncInst &Trunc,
436436
return ExtractElementInst::Create(VecInput, IC.Builder.getInt32(Elt));
437437
}
438438

439-
// Whenever an element is extracted from a vector, and then truncated,
440-
// canonicalize by converting it to a bitcast followed by an
441-
// extractelement.
442-
//
443-
// Example (little endian):
444-
// trunc (extractelement <4 x i64> %X, 0) to i32
445-
// --->
446-
// extractelement <8 x i32> (bitcast <4 x i64> %X to <8 x i32>), i32 0
439+
/// Whenever an element is extracted from a vector, and then truncated,
440+
/// canonicalize by converting it to a bitcast followed by an
441+
/// extractelement.
442+
///
443+
/// Example (little endian):
444+
/// trunc (extractelement <4 x i64> %X, 0) to i32
445+
/// --->
446+
/// extractelement <8 x i32> (bitcast <4 x i64> %X to <8 x i32>), i32 0
447447
static Instruction *foldVecExtTruncToExtElt(TruncInst &Trunc,
448448
InstCombinerImpl &IC) {
449449
Value *Src = Trunc.getOperand(0);

0 commit comments

Comments
 (0)