[all-commits] [llvm/llvm-project] 6c2c43: NVPTX: Drop LiveVariables from the register alloca...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Sep 21 13:10:07 PDT 2026


  Branch: refs/heads/users/arsenm/nvptx/drop-livevariables
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c2c43665e0012b268517d55b0ea11f74c30c874
      https://github.com/llvm/llvm-project/commit/6c2c43665e0012b268517d55b0ea11f74c30c874
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXCodeGenPassBuilder.cpp
    M llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp
    M llvm/test/CodeGen/NVPTX/llc-pipeline-npm.ll

  Log Message:
  -----------
  NVPTX: Drop LiveVariables from the register allocation pipeline

The optimized RegAlloc pipeline ran LiveVariables only to satisfy PHIElimination
and TwoAddressInstruction, both of which no longer need it. Remove the
LiveVariables run (and, in the new pass manager, the UnreachableMachineBlockElim
that was there only as a LiveVariables prerequisite).

Co-authored-by: Claude (Claude-Opus-4.8)



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