Last active
January 23, 2020 17:01
-
-
Save matthiasfranz/de178742126ad356cf603f7383cffb64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Target/AArch64/AArch64ISelLowering.h b/lib/Target/AArch64/AArch64ISelLowering.h | |
index d5154fb..49fca3f 100644 | |
--- a/lib/Target/AArch64/AArch64ISelLowering.h | |
+++ b/lib/Target/AArch64/AArch64ISelLowering.h | |
@@ -619,8 +619,11 @@ private: | |
SelectionDAG &DAG) const override; | |
unsigned getInlineAsmMemConstraint(StringRef ConstraintCode) const override { | |
- if (ConstraintCode == "Q") | |
+ if (ConstraintCode == "Q") { | |
return InlineAsm::Constraint_Q; | |
+ } else if (ConstraintCode == "o") { | |
+ return InlineAsm::Constraint_m; | |
+ } | |
// FIXME: clang has code for 'Ump', 'Utf', 'Usa', and 'Ush' but these are | |
// followed by llvm_unreachable so we'll leave them unimplemented in | |
// the backend for now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment