[all-commits] [llvm/llvm-project] bf6600: [MC, NVPTX] Add MCAsmPrinter support for unsigned-o...
Artem Belevich via All-commits
all-commits at lists.llvm.org
Mon Jul 20 16:25:49 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: bf66003a4f9115beb4a8a240b5327b3cc41be9cc
https://github.com/llvm/llvm-project/commit/bf66003a4f9115beb4a8a240b5327b3cc41be9cc
Author: Artem Belevich <tra at google.com>
Date: 2020-07-20 (Mon, 20 Jul 2020)
Changed paths:
M llvm/include/llvm/MC/MCAsmInfo.h
M llvm/lib/MC/MCExpr.cpp
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
M llvm/test/DebugInfo/NVPTX/packed_bitfields.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list