[all-commits] [llvm/llvm-project] 7d7fb7: [NVPTX] restrict `cvta.param` use to kernels only....

Artem Belevich via All-commits all-commits at lists.llvm.org
Tue Oct 15 10:45:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d7fb7ce5f4f33d668cdf4c5063c58ec444c274c
      https://github.com/llvm/llvm-project/commit/7d7fb7ce5f4f33d668cdf4c5063c58ec444c274c
  Author: Artem Belevich <tra at google.com>
  Date:   2024-10-15 (Tue, 15 Oct 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
    M llvm/test/CodeGen/NVPTX/lower-args-gridconstant.ll

  Log Message:
  -----------
  [NVPTX] restrict `cvta.param` use to kernels only. (#112278)

If `cvta.param` is used in regular functions, it may produce an
invalid pointer. It's unclear if it's a bug in ptxas or we're not using `cvta.param` correctly, but,
regardless of the underlying reason, the instruction has to be disabled for non-kernels, at least for now.



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