[llvm] [RISCV][NFC] Adopt DiagnosticString interface (PR #126290)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 7 13:49:01 PST 2025


================
@@ -150,12 +151,26 @@ def SPMem : MemOperand<SP>;
 
 def GPRCMem : MemOperand<GPRC>;
 
----------------
mshockwave wrote:

I thought these (materialized) strings from TableGen code will eventually be put as normal C strings, so in the final compiler binaries similar string will still be deduplicated. Though these strings wouldn't be deduplicated in the *.inc files generated from TableGen I believe (though I think we can somehow solve this by changing how TableGen generates this part of the code)

https://github.com/llvm/llvm-project/pull/126290


More information about the llvm-commits mailing list