HomePhabricator

[ARM][MVE] validForTailPredication insts

Authored by samparker on Oct 15 2019, 6:12 AM.

Description

[ARM][MVE] validForTailPredication insts

Reverse the logic for valid tail predication instructions and create
a whitelist instead. Added other instruction groups that aren't
obviously safe:

  • instructions that 'narrow' their result.
  • lane moves.
  • byte swapping instructions.
  • interleaving loads and stores.
  • cross-beat carries.
  • top/bottom instructions.
  • complex operations.

Hopefully we should be able to add more of these instructions to the
whitelist, once we have a more concrete idea of the transform.

Differential Revision: https://reviews.llvm.org/D67904

llvm-svn: 374887

Details

Committed
samparkerOct 15 2019, 6:12 AM
Differential Revision
D67904: [ARM][MVE] validForTailPredication insts
Parents
rG455ce7816ce4: [InstCombine] fold a shifted bool zext to a select (2nd try)
Branches
Unknown
Tags
Unknown