Skip to content

Commit 4562074

Browse files
committed
code cleanup
1 parent 3b646c6 commit 4562074

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2642,9 +2642,8 @@ namespace {
26422642

26432643
struct CSEDenseMapInfo {
26442644
static bool canHandle(const Instruction *I) {
2645-
return isa<InsertElementInst>(I) || isa<ExtractElementInst>(I) ||
2646-
isa<ShuffleVectorInst>(I) || isa<GetElementPtrInst>(I) ||
2647-
isa<BitCastInst>(I);
2645+
return isa<InsertElementInst, ExtractElementInst, ShuffleVectorInst,
2646+
GetElementPtrInst, BitCastInst>(I);
26482647
}
26492648

26502649
static inline Instruction *getEmptyKey() {

0 commit comments

Comments
 (0)