[llvm] [TargetLowering] Deduplicate choosing InlineAsm constraint between ISels (PR #67057)
Bill Wendling via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 21 14:06:07 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,
----------------
bwendling wrote:
Is the `const` necessary here?
https://github.com/llvm/llvm-project/pull/67057
More information about the llvm-commits
mailing list