diff options
| author | Weiming Zhao <weimingz@codeaurora.org> | 2017-03-10 18:21:34 +0000 | 
|---|---|---|
| committer | Weiming Zhao <weimingz@codeaurora.org> | 2017-03-10 18:21:34 +0000 | 
| commit | 9dd49054fa55696004bccc6e8babb76b9d7c13c4 (patch) | |
| tree | 757a394cdb6ee80cb3df927ff97155c430b2080a | |
| parent | e54cd65399fcf164531144acacc126e2edc471c8 (diff) | |
| download | bcm5719-llvm-9dd49054fa55696004bccc6e8babb76b9d7c13c4.tar.gz bcm5719-llvm-9dd49054fa55696004bccc6e8babb76b9d7c13c4.zip | |
[Builtin][ARM] Fix test case for uldivmod
Summary: the inline asm should set those clobbered registers.
Reviewers: rengolin, compnerd, jroelofs
Reviewed By: jroelofs
Subscribers: aemerson, llvm-commits
Differential Revision: https://reviews.llvm.org/D30811
llvm-svn: 297487
| -rw-r--r-- | compiler-rt/test/builtins/Unit/arm/aeabi_uldivmod_test.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/compiler-rt/test/builtins/Unit/arm/aeabi_uldivmod_test.c b/compiler-rt/test/builtins/Unit/arm/aeabi_uldivmod_test.c index 6be932058cd..f629d6b4d2c 100644 --- a/compiler-rt/test/builtins/Unit/arm/aeabi_uldivmod_test.c +++ b/compiler-rt/test/builtins/Unit/arm/aeabi_uldivmod_test.c @@ -34,6 +34,7 @@ int test_aeabi_uldivmod(du_int a, du_int b, du_int expected_q, du_int expected_r          "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", | 

