[llvm] 94a7529 - [InlineAsm] Add constraint A to getMemConstraintName (#65292)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 11 20:24:33 PDT 2023
Author: Wang Pengcheng
Date: 2023-09-12T11:24:30+08:00
New Revision: 94a75294cecf12c4bad725b89ebbda50cbc8add2
URL: https://github.com/llvm/llvm-project/commit/94a75294cecf12c4bad725b89ebbda50cbc8add2
DIFF: https://github.com/llvm/llvm-project/commit/94a75294cecf12c4bad725b89ebbda50cbc8add2.diff
LOG: [InlineAsm] Add constraint A to getMemConstraintName (#65292)
We will get an assertion of 'Unknown memory constraint' when we dump
`MachineOperand` with constraint A.
Added:
Modified:
llvm/include/llvm/IR/InlineAsm.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/InlineAsm.h b/llvm/include/llvm/IR/InlineAsm.h
index f73666fa8dc08e7..8a129337f59266d 100644
--- a/llvm/include/llvm/IR/InlineAsm.h
+++ b/llvm/include/llvm/IR/InlineAsm.h
@@ -457,6 +457,8 @@ class InlineAsm final : public Value {
return "o";
case InlineAsm::Constraint_v:
return "v";
+ case InlineAsm::Constraint_A:
+ return "A";
case InlineAsm::Constraint_Q:
return "Q";
case InlineAsm::Constraint_R:
More information about the llvm-commits
mailing list