projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a46667
)
[PowerPC] Add missing VSX guard for vec_roundm with vector double
author
Nemanja Ivanovic
<nemanja.i.ibm@gmail.com>
Thu, 22 Apr 2021 10:41:37 +0000
(
05:41
-0500)
committer
Nemanja Ivanovic
<nemanja.i.ibm@gmail.com>
Thu, 22 Apr 2021 15:30:59 +0000
(10:30 -0500)
The guard was missed in the previous commit.
clang/lib/Headers/altivec.h
patch
|
blob
|
history
diff --git
a/clang/lib/Headers/altivec.h
b/clang/lib/Headers/altivec.h
index
8486f97
..
b806aa9
100644
(file)
--- a/
clang/lib/Headers/altivec.h
+++ b/
clang/lib/Headers/altivec.h
@@
-3734,9
+3734,11
@@
static __inline__ vector float __ATTRS_o_ai vec_roundm(vector float __a) {
return vec_floor(__a);
}
+#ifdef __VSX__
static __inline__ vector double __ATTRS_o_ai vec_roundm(vector double __a) {
return vec_floor(__a);
}
+#endif
/* vec_vrfim */