[libclc] r190310 - Parenthesize arguments for mad_hi

Aaron Watry awatry at gmail.com
Mon Sep 9 07:36:21 PDT 2013


Author: awatry
Date: Mon Sep  9 09:36:21 2013
New Revision: 190310

URL: http://llvm.org/viewvc/llvm-project?rev=190310&view=rev
Log:
Parenthesize arguments for mad_hi

Thanks to Jordon Rose <jordan_rose at apple.com> for pointing this out.

Modified:
    libclc/trunk/generic/include/clc/integer/mad_hi.h

Modified: libclc/trunk/generic/include/clc/integer/mad_hi.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/integer/mad_hi.h?rev=190310&r1=190309&r2=190310&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/integer/mad_hi.h (original)
+++ libclc/trunk/generic/include/clc/integer/mad_hi.h Mon Sep  9 09:36:21 2013
@@ -1 +1 @@
-#define mad_hi(a, b, c) (mul_hi(a,b)+c)
+#define mad_hi(a, b, c) (mul_hi((a),(b))+(c))





More information about the cfe-commits mailing list