'R' An address that can be sued in a non-macro load or store.
This patch includes a positive test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176453
91177308-0d34-0410-b5e6-
96231b3b80d8
case 'x': // hilo register pair
Info.setAllowsRegister();
return true;
+ case 'R': // An address tha can be used in a non-macro load or store
+ Info.setAllowsMemory();
+ return true;
}
}
// RUN: | FileCheck %s
// This checks that the frontend will accept inline asm constraints
-// c', 'l' and 'x'. Semantic checking will happen in the
-// llvm backend. Any bad constraint letters will cause the frontend to
-// error out.
+// c', 'l' and 'x'.
int main()
{