I would first ask that question to the person/company that performed the motor work. They may have tested their motor combinations with a specific pipe, which would give you the same type of gains that they saw.
For the most part though, all of our pipes will work with a modified motor. You will want to match the pipe with the powerband the motor was set up for. An FMF Rev pipe probably wouldn't be the best combination with a motor that was set up for tons of low end power.