[llvm] Reland "[NVPTX] Emit prmt selection value in hex" (PR #115952)

Justin Fargnoli via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 12 14:47:03 PST 2024


https://github.com/justinfargnoli created https://github.com/llvm/llvm-project/pull/115952

None

>From 5b6f9b4ae812e334b942ea8fce0bab58f5db5387 Mon Sep 17 00:00:00 2001
From: Justin Fargnoli <jfargnoli at nvidia.com>
Date: Tue, 5 Nov 2024 11:25:26 -0800
Subject: [PATCH] clang-format

---
 llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.h b/llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.h
index a17c472d3f0d90..2ce40bd6e8b973 100644
--- a/llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.h
+++ b/llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.h
@@ -48,6 +48,8 @@ class NVPTXInstPrinter : public MCInstPrinter {
                        raw_ostream &O, const char *Modifier = nullptr);
   void printOffseti32imm(const MCInst *MI, int OpNum, raw_ostream &O,
                          const char *Modifier = nullptr);
+  void printHexu32imm(const MCInst *MI, int OpNum, raw_ostream &O,
+                      const char *Modifier = nullptr);
   void printProtoIdent(const MCInst *MI, int OpNum,
                        raw_ostream &O, const char *Modifier = nullptr);
   void printPrmtMode(const MCInst *MI, int OpNum, raw_ostream &O,



More information about the llvm-commits mailing list