mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-03 17:32:59 +00:00
fix typo in comment and remove inaccurate comment; NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320838 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b0364a570b
commit
e58640ab75
@ -455,7 +455,7 @@ void copyRangeMetadata(const DataLayout &DL, const LoadInst &OldLI, MDNode *N,
|
||||
// Intrinsic pattern matching
|
||||
//
|
||||
|
||||
/// Try and match a bswap or bitreverse idiom.
|
||||
/// Try to match a bswap or bitreverse idiom.
|
||||
///
|
||||
/// If an idiom is matched, an intrinsic call is inserted before \c I. Any added
|
||||
/// instructions are returned in \c InsertedInsts. They will all have been added
|
||||
|
@ -2143,8 +2143,6 @@ static bool bitTransformIsCorrectForBitReverse(unsigned From, unsigned To,
|
||||
return From == BitWidth - To - 1;
|
||||
}
|
||||
|
||||
/// Given an OR instruction, check to see if this is a bitreverse
|
||||
/// idiom. If so, insert the new intrinsic and return true.
|
||||
bool llvm::recognizeBSwapOrBitReverseIdiom(
|
||||
Instruction *I, bool MatchBSwaps, bool MatchBitReversals,
|
||||
SmallVectorImpl<Instruction *> &InsertedInsts) {
|
||||
|
Loading…
Reference in New Issue
Block a user