File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -1979,16 +1979,10 @@ struct VPCSEDenseMapInfo : public DenseMapInfo<VPSingleDefRecipe *> {
19791979 .Case <VPInstruction, VPWidenRecipe, VPWidenCastRecipe,
19801980 VPWidenSelectRecipe, VPWidenGEPRecipe, VPReplicateRecipe>(
19811981 [](auto *I) { return std::make_pair (false , I->getOpcode ()); })
1982- .Case <VPPredInstPHIRecipe>([](auto *I) {
1983- // Treat VPPredInstPHIRecipe as Instruction::PHI for CSE. This is only
1984- // safe, if they are in the same block and hence share the same
1985- // predicate.
1986- return std::make_pair (false , Instruction::PHI);
1987- })
19881982 .Case <VPWidenIntrinsicRecipe>([](auto *I) {
19891983 return std::make_pair (true , I->getVectorIntrinsicID ());
19901984 })
1991- .Case <VPVectorPointerRecipe>([](auto *I) {
1985+ .Case <VPVectorPointerRecipe, VPPredInstPHIRecipe >([](auto *I) {
19921986 // For recipes that do not directly map to LLVM IR instructions,
19931987 // assign opcodes after the last VPInstruction opcode (which is also
19941988 // after the last IR Instruction opcode), based on the VPDefID.
You can’t perform that action at this time.
0 commit comments