[NVPTX] .attribute(.managed) is only supported for sm_30 and PTX 4.0
authorAndrew Savonichev <andrew.savonichev@gmail.com>
Thu, 31 Mar 2022 20:50:34 +0000 (23:50 +0300)
committerAndrew Savonichev <andrew.savonichev@gmail.com>
Thu, 14 Apr 2022 14:07:52 +0000 (17:07 +0300)
commit4cef5c397d5fae8256318e8c74a2653f5c54eeb7
tree3df80f149d0500c569a14d53c2059d7b73ce27ae
parent230f32696497bf788ac7f4365aecabb26f6670f1
[NVPTX] .attribute(.managed) is only supported for sm_30 and PTX 4.0

PTX ISA spec, s5.4.8. Variable Attribute Directive: .attribute

PTX ISA Notes
Introduced in PTX ISA version 4.0.

Target ISA Notes
.managed attribute requires sm_30 or higher.

Differential Revision: https://reviews.llvm.org/D123040
llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
llvm/lib/Target/NVPTX/NVPTXAsmPrinter.h
llvm/test/CodeGen/NVPTX/managed.ll