[all-commits] [llvm/llvm-project] 022c9c: [NVPTX] Lower invalid `ISD::ADDRSPACECAST` (#125607)

Justin Fargnoli via All-commits all-commits at lists.llvm.org
Tue Feb 11 15:36:28 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 022c9c9d3ac39c1f5a3efe143972dff4b62090b6
      https://github.com/llvm/llvm-project/commit/022c9c9d3ac39c1f5a3efe143972dff4b62090b6
  Author: Justin Fargnoli <jfargnoli at nvidia.com>
  Date:   2025-02-11 (Tue, 11 Feb 2025)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.h
    M llvm/test/CodeGen/NVPTX/addrspacecast.ll

  Log Message:
  -----------
  [NVPTX] Lower invalid `ISD::ADDRSPACECAST` (#125607)

Avoid [crashing](https://godbolt.org/z/8T58vcM68) when lowering
`addrspacecast ptr addrspace(<non-zero>) %ptr to ptr
addrspace(<non-zero>)`.



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