[all-commits] [llvm/llvm-project] acabba: [NVPTX] don't erase CopyToRegs when folding movs i...

Princeton Ferro via All-commits all-commits at lists.llvm.org
Wed Sep 3 03:21:45 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: acabba4f6d30d077a0ca87dc95e25780c2b0825f
      https://github.com/llvm/llvm-project/commit/acabba4f6d30d077a0ca87dc95e25780c2b0825f
  Author: Princeton Ferro <pferro at nvidia.com>
  Date:   2025-09-03 (Wed, 03 Sep 2025)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/test/CodeGen/NVPTX/f16x2-instructions.ll
    M llvm/test/CodeGen/NVPTX/f32x2-instructions.ll
    M llvm/test/CodeGen/NVPTX/i16x2-instructions.ll
    M llvm/test/CodeGen/NVPTX/i8x4-instructions.ll
    A llvm/test/CodeGen/NVPTX/pr126337.ll
    M llvm/test/CodeGen/NVPTX/reduction-intrinsics.ll

  Log Message:
  -----------
  [NVPTX] don't erase CopyToRegs when folding movs into loads (#149393)

We may still need to keep CopyToReg even after folding uses into vector
loads, since the original register may be used in other blocks.

Partially reverts 1fdbe6984976d9e85ab3b1a93e8de434a85c5646



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