[all-commits] [llvm/llvm-project] eb75af: Reapply "SystemZ: Fold copy of vector immediate to...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon May 6 01:02:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb75af223fb07d83808bd40ffde942435e9779d6
      https://github.com/llvm/llvm-project/commit/eb75af223fb07d83808bd40ffde942435e9779d6
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-05-06 (Mon, 06 May 2024)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.h
    A llvm/test/CodeGen/SystemZ/fold-copy-vector-immediate.mir

  Log Message:
  -----------
  Reapply "SystemZ: Fold copy of vector immediate to gr128" (#91099)

This reverts commit a415b4dfcc02e3e82b8c8a7836f7c04b9d65dc9b.

Modify the instruction in place to transform it into a REG_SEQUENCE,
which is what other implementations of foldImmediate do. Also start
erasing the def instruction if there are no other uses.

Fixes #91110.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list