HomePhabricator

[MC,NVPTX] Add MCAsmPrinter support for unsigned-only data directives.
Audit Requiredbf66003a4f91

Authored by tra on Jul 8 2020, 1:23 PM.

Description

[MC,NVPTX] Add MCAsmPrinter support for unsigned-only data directives.

PTX does not support negative values in .bNN data directives and we must
typecast such values to unsigned before printing them.

MCAsmInfo can now specify whether such casting is necessary for particular
target.

Differential Revision: https://reviews.llvm.org/D83423

Details