Fix build failures from r337347, found by clang
authorJustin Hibbits <jrh29@alumni.cwru.edu>
Wed, 18 Jul 2018 05:19:25 +0000 (05:19 +0000)
committerJustin Hibbits <jrh29@alumni.cwru.edu>
Wed, 18 Jul 2018 05:19:25 +0000 (05:19 +0000)
commit22e939a15b6d585da0f422ba82ff9ba155779208
treec32f570703c1499fbf54e2fbd112b27e791faca6
parent95063a45b84a330d6ee378256593c244f89df9d3
Fix build failures from r337347, found by clang

* Delete a no-longer-used override, and mark the other
getRegisterTypeForCallingConv() as override.
* SPE only supports i32, not i64, as the internal type, so simply remove
the type check, so that DestReg and Opc are provably always set.

GCC 6.4 did not warn about either of the above.

llvm-svn: 337350
llvm/lib/Target/PowerPC/PPCFastISel.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.h