[all-commits] [llvm/llvm-project] b16c5f: [NVPTX] Clear unsafe kill flags in NVPTXProxyRegEr...

yinghao via All-commits all-commits at lists.llvm.org
Mon Jul 20 07:33:34 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b16c5f7cc88c9f41d904cc73d5618cc7453ac862
      https://github.com/llvm/llvm-project/commit/b16c5f7cc88c9f41d904cc73d5618cc7453ac862
  Author: yinghao <73093416+andreww0210 at users.noreply.github.com>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXProxyRegErasure.cpp
    A llvm/test/CodeGen/NVPTX/proxy-reg-erasure-kill-flag.mir
    M llvm/test/CodeGen/NVPTX/proxy-reg-erasure.mir

  Log Message:
  -----------
  [NVPTX] Clear unsafe kill flags in NVPTXProxyRegErasure (#198143)

Fixes #198142

After replacing regsiter, stale `killed` flags my leave on non-terminal
uses, breaking liveness and triggering MachineVerifier errors.
    
Fix this by conservatively dropping the `killed` flag on `ToReg`.



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