diff options
author | Reid Kleckner <rnk@google.com> | 2023-09-13 09:56:31 -0700 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2023-09-13 09:58:02 -0700 |
commit | ee643b706be2b6bef9980b25cc9cc988dab94bb5 (patch) | |
tree | 3f8b58f953dc5f6da9517f2857b906d357ad3328 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 2ec7dbaff7428b96df8b56a7743d6cfef1249d65 (diff) | |
download | llvm-ee643b706be2b6bef9980b25cc9cc988dab94bb5.zip llvm-ee643b706be2b6bef9980b25cc9cc988dab94bb5.tar.gz llvm-ee643b706be2b6bef9980b25cc9cc988dab94bb5.tar.bz2 |
Revert "[InlineAsm] wrap ConstraintCode in enum class NFC (#66003)"
This reverts commit 2ca4d136124d151216aac77a0403dcb5c5835bcd.
Also revert the followup, "[InlineAsm] fix botched merge conflict resolution"
This reverts commit 8b9bf3a9f715ee5dce96eb1194441850c3663da1.
There were SystemZ and Mips build errors, too many to fix forward.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineInstr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp index d8467e2..8cc3391 100644 --- a/llvm/lib/CodeGen/MachineInstr.cpp +++ b/llvm/lib/CodeGen/MachineInstr.cpp @@ -1778,7 +1778,7 @@ void MachineInstr::print(raw_ostream &OS, ModuleSlotTracker &MST, } if (F.isMemKind()) { - const InlineAsm::ConstraintCode MCID = F.getMemoryConstraintID(); + const unsigned MCID = F.getMemoryConstraintID(); OS << ":" << InlineAsm::getMemConstraintName(MCID); } |