[all-commits] [llvm/llvm-project] 45c4b0: [NFC] [PowerPC] Add isPredicable for basic instrs

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Fri Jan 10 00:49:06 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 45c4b08d8228f64b02b8a4df069aa37d5fa70829
      https://github.com/llvm/llvm-project/commit/45c4b08d8228f64b02b8a4df069aa37d5fa70829
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
    M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
    M llvm/lib/Target/PowerPC/PPCInstrInfo.h
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td

  Log Message:
  -----------
  [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




More information about the All-commits mailing list