[all-commits] [llvm/llvm-project] 57feff: [SystemZ] Improve foldMemoryOperandImpl: vec->FP c...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Tue May 12 00:23:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 57feff93a82c7a7cf538b8a3e05e02ada2fbcae3
      https://github.com/llvm/llvm-project/commit/57feff93a82c7a7cf538b8a3e05e02ada2fbcae3
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2020-05-12 (Tue, 12 May 2020)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZInstrFP.td
    M llvm/lib/Target/SystemZ/SystemZInstrFormats.td
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
    M llvm/lib/Target/SystemZ/SystemZInstrVector.td
    A llvm/test/CodeGen/SystemZ/foldmemop-vec-binops.mir
    A llvm/test/CodeGen/SystemZ/foldmemop-vec-cc.mir
    A llvm/test/CodeGen/SystemZ/foldmemop-vec-cmp.mir
    A llvm/test/CodeGen/SystemZ/foldmemop-vec-fusedfp.mir
    A llvm/test/CodeGen/SystemZ/foldmemop-vec-unary.mir
    M llvm/test/CodeGen/SystemZ/int-cmp-56.mir

  Log Message:
  -----------
  [SystemZ] Improve foldMemoryOperandImpl: vec->FP conversions

Use FP-mem instructions when folding reloads into single lane (W..) vector
instructions.

Only do this when all other operands of the instruction have already been
allocated to an FP (F0-F15) register.

Review: Ulrich Weigand

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




More information about the All-commits mailing list