[PATCH] D30811: [Builtin][ARM] Fix test case for uldivmod

Weiming Zhao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 10 10:33:44 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL297487: [Builtin][ARM] Fix test case for uldivmod (authored by weimingz).

Changed prior to commit:
  https://reviews.llvm.org/D30811?vs=91273&id=91374#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D30811

Files:
  compiler-rt/trunk/test/builtins/Unit/arm/aeabi_uldivmod_test.c


Index: compiler-rt/trunk/test/builtins/Unit/arm/aeabi_uldivmod_test.c
===================================================================
--- compiler-rt/trunk/test/builtins/Unit/arm/aeabi_uldivmod_test.c
+++ compiler-rt/trunk/test/builtins/Unit/arm/aeabi_uldivmod_test.c
@@ -34,6 +34,7 @@
         "movs %R[r], r3\n"
         : [q] "=r" (q), [r] "=r"(r)
         : [a] "r"(a), [b] "r"(b)
+        : "lr", "r0", "r1", "r2", "r3"
         );
     if (q != expected_q || r != expected_r)
         printf("error in aeabi_uldivmod: %llX / %llX = %llX, R = %llX, expected %llX, %llX\n",


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30811.91374.patch
Type: text/x-patch
Size: 582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170310/cab11722/attachment.bin>


More information about the llvm-commits mailing list