================
@@ -0,0 +1,10 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -o /dev/null
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-feature +egpr %s -o
/dev/null
+
+int foo(void) {
+ register int a __asm__("ebx");
+#ifdef __EGPR__
----------------
KanRobert wrote:
bash$ ls -d llvm/test/CodeGen/*/
llvm/test/CodeGen/ARM/
llvm/test/CodeGen/AArch64/
ARM use a separate dir from AArch64. So create clang/test/CodeGen/ARM/ and put
test in it.
https://github.com/llvm/llvm-project/pull/91323
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits