[llvm] [TargetLowering] Deduplicate choosing InlineAsm constraint between ISels (PR #67057)

Nick Desaulniers via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 14:38:43 PDT 2023


================
@@ -468,13 +468,11 @@ class SITargetLowering final : public AMDGPUTargetLowering {
   getRegForInlineAsmConstraint(const TargetRegisterInfo *TRI,
                                StringRef Constraint, MVT VT) const override;
   ConstraintType getConstraintType(StringRef Constraint) const override;
-  void LowerAsmOperandForConstraint(SDValue Op,
-                                    std::string &Constraint,
+  void LowerAsmOperandForConstraint(SDValue Op, const StringRef Constraint,
----------------
nickdesaulniers wrote:

https://github.com/llvm/llvm-project/pull/67057/commits/5d1d8abef203f0457ce5d7cd47d7e25074cc85fb

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


More information about the llvm-commits mailing list