[NFC] [PowerPC] Add isPredicable for basic instrs
authorQiu Chaofan <qiucofan@cn.ibm.com>
Fri, 10 Jan 2020 08:43:43 +0000 (16:43 +0800)
committerQiu Chaofan <qiucofan@cn.ibm.com>
Fri, 10 Jan 2020 08:48:44 +0000 (16:48 +0800)
commit45c4b08d8228f64b02b8a4df069aa37d5fa70829
treeeda65b2f7d3b0597282b43c0f8dac3b67ece938c
parent921f871ac438175ca8fcfcafdfcfac4d7ddf3905
[NFC] [PowerPC] Add isPredicable for basic instrs

PowerPC uses a dedicated method to check if the machine instr is
predicable by opcode. However, there's a bit `isPredicable` in instr
definition. This patch removes the method and set the bit only to
opcodes referenced in it.

Differential Revision: https://reviews.llvm.org/D71921
llvm/lib/Target/PowerPC/PPCInstr64Bit.td
llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
llvm/lib/Target/PowerPC/PPCInstrInfo.h
llvm/lib/Target/PowerPC/PPCInstrInfo.td