[all-commits] [llvm/llvm-project] 8ca2fc: [PowerPC] Refactor PPCInstrVSX.td

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Fri May 1 17:18:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ca2fc9993c9e6e1f5b1ccaba925fd19059f719a
      https://github.com/llvm/llvm-project/commit/8ca2fc9993c9e6e1f5b1ccaba925fd19059f719a
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2020-05-01 (Fri, 01 May 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrVSX.td

  Log Message:
  -----------
  [PowerPC] Refactor PPCInstrVSX.td

Over time, we have made many additions to this file and it has frankly become a
bit of a mess. This has led to at least one issue - we have a number of
instructions where the side effects flag should be set to false and we neglected
to do this. This patch suggests a refactoring that should make the file much
more maintainable. The file is split up into major sections and the nesting
level is reduced, predicate blocks merged, etc.

Sections:
  - Custom PPCISD node definitions
  - Predicate definitions
  - Instruction formats
  - Instruction definitions
  - Helper DAG definitions
  - Anonymous patterns
  - Instruction aliases

Differential revision: https://reviews.llvm.org/D78132




More information about the All-commits mailing list