[riscv] Mark function as used to avoid unused warning.
authorWeverything <rtrieu@google.com>
Wed, 4 May 2022 01:10:50 +0000 (18:10 -0700)
committerWeverything <rtrieu@google.com>
Wed, 4 May 2022 01:51:23 +0000 (18:51 -0700)
llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp

index fa43dae..f08dbee 100644 (file)
@@ -420,6 +420,7 @@ public:
 };
 
 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
+LLVM_ATTRIBUTE_USED
 inline raw_ostream &operator<<(raw_ostream &OS, const VSETVLIInfo &V) {
   V.print(OS);
   return OS;