Debian uses different triples for MIPS r6 and paths.
These new triples include:
mipsisa32r6-linux-gnu
mipsisa32r6el-linux-gnu
mipsisa64r6-linux-gnuabi64
mipsisa64r6el-linux-gnuabi64
mipsisa64r6-linux-gnuabin32
mipsisa64r6el-linux-gnuabin32
This patch depends on: https://reviews.llvm.org/D50857
It looks like this change is unrelated to introducing new target triples and can be made by a separate commit.