[PATCH] D78132: [PowerPC] Refactor PPCInstrVSX.td
Nemanja Ivanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 14 10:44:07 PDT 2020
nemanjai created this revision.
nemanjai added reviewers: hfinkel, PowerPC.
Herald added subscribers: shchenz, kbarton, hiraditya.
Herald added a project: LLVM.
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
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D78132
Files:
llvm/lib/Target/PowerPC/PPCInstrVSX.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78132.257398.patch
Type: text/x-patch
Size: 364807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200414/34b73458/attachment-0001.bin>
More information about the llvm-commits
mailing list