[llvm] [SPARC] Loosen assertions in printOperand for inline asm operands (PR #104692)

via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 18 19:51:26 PDT 2024


================
@@ -317,10 +318,11 @@ void SparcAsmPrinter::printOperand(const MachineInstr *MI, int opNum,
 #ifndef NDEBUG
----------------
koachan wrote:

Does that mean I should delete the asserts instead?
In my understanding inline asm operands can be of any kind of relocation so if it is only called when printing inline asm that means that all the other validations won't be used anyway?

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


More information about the llvm-commits mailing list