Skip to content

Commit 94a7529

Browse files
authored
[InlineAsm] Add constraint A to getMemConstraintName (#65292)
We will get an assertion of 'Unknown memory constraint' when we dump `MachineOperand` with constraint A.
1 parent 72f6abb commit 94a7529

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/include/llvm/IR/InlineAsm.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,8 @@ class InlineAsm final : public Value {
457457
return "o";
458458
case InlineAsm::Constraint_v:
459459
return "v";
460+
case InlineAsm::Constraint_A:
461+
return "A";
460462
case InlineAsm::Constraint_Q:
461463
return "Q";
462464
case InlineAsm::Constraint_R:

0 commit comments

Comments
 (0)