summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/fp_lib.h
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2014-02-26 20:38:24 +0000
committerJoerg Sonnenberger <joerg@bec.de>2014-02-26 20:38:24 +0000
commit3d7afbb945b04f41800c1074eda2e1fb97524033 (patch)
tree0f945651ab7339162ab6e8ed05aeac3ccdb55cc4 /compiler-rt/lib/builtins/fp_lib.h
parent9d09e2fe9066a6b656865c7d0dc37935a177e849 (diff)
downloadbcm5719-llvm-3d7afbb945b04f41800c1074eda2e1fb97524033.tar.gz
bcm5719-llvm-3d7afbb945b04f41800c1074eda2e1fb97524033.zip
Undef helper macros after using them.
llvm-svn: 202298
Diffstat (limited to 'compiler-rt/lib/builtins/fp_lib.h')
-rw-r--r--compiler-rt/lib/builtins/fp_lib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/builtins/fp_lib.h b/compiler-rt/lib/builtins/fp_lib.h
index 661119ae412..31714b194fb 100644
--- a/compiler-rt/lib/builtins/fp_lib.h
+++ b/compiler-rt/lib/builtins/fp_lib.h
@@ -83,6 +83,8 @@ static inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) {
// Sum terms contributing to hi with the carry from lo
*hi = hiWord(plohi) + hiWord(philo) + hiWord(r1) + phihi;
}
+#undef loWord
+#undef hiWord
#else
#error Either SINGLE_PRECISION or DOUBLE_PRECISION must be defined.
OpenPOWER on IntegriCloud