[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:48 PDT 2023


================
@@ -4853,7 +4862,8 @@ class TargetLowering : public TargetLoweringBase {
 
   /// Lower the specified operand into the Ops vector.  If it is invalid, don't
   /// add anything to Ops.
-  virtual void LowerAsmOperandForConstraint(SDValue Op, std::string &Constraint,
+  virtual 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