[test-suite] r291971 - Fix mismatching types in printf call.
Tim Northover via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 13 15:01:26 PST 2017
Author: tnorthover
Date: Fri Jan 13 17:01:26 2017
New Revision: 291971
URL: http://llvm.org/viewvc/llvm-project?rev=291971&view=rev
Log:
Fix mismatching types in printf call.
The UB caused a failure on GlobalISel AArch64.
Modified:
test-suite/trunk/MultiSource/Benchmarks/MiBench/automotive-basicmath/basicmath.c
Modified: test-suite/trunk/MultiSource/Benchmarks/MiBench/automotive-basicmath/basicmath.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/MiBench/automotive-basicmath/basicmath.c?rev=291971&r1=291970&r2=291971&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/MiBench/automotive-basicmath/basicmath.c (original)
+++ test-suite/trunk/MultiSource/Benchmarks/MiBench/automotive-basicmath/basicmath.c Fri Jan 13 17:01:26 2017
@@ -105,7 +105,7 @@ int main(void)
{
usqrt(l, &q);
//printf("\nsqrt(%lX) = %X, remainder = %X\n", l, q.sqrt, q.frac);
- printf("sqrt(%lX) = %X\n", l, q.sqrt);
+ printf("sqrt(%X) = %X\n", l, q.sqrt);
}
More information about the llvm-commits
mailing list