OSDN Git Service

[SystemZ] Refactor some VT casts in DAG match patterns
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 30 Apr 2018 15:52:28 +0000 (15:52 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 30 Apr 2018 15:52:28 +0000 (15:52 +0000)
commitb57e446bd82bf9f749538a446bd8f1596d81088a
tree67e739c9a62bbf9d0368b63bb1c342b5ea81f384
parentb6736ee4c14b86a525e3125b08cac08c4c5d659b
[SystemZ] Refactor some VT casts in DAG match patterns

In patterns where we need to specify a result VT, prefer

  [(set (tr.vt tr.op:$V1), (operator ...))]

over

  [(set tr.op:$V1, (tr.vt (operator ...)))]

This is NFC now, but simplifies some future changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331192 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZInstrFormats.td