mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-23 04:16:42 +00:00
Restrict __builtin_assume_aligned to gcc 4.7+
llvm-svn: 171408
This commit is contained in:
parent
8e9968e6f2
commit
49cbcf460d
@ -240,7 +240,8 @@
|
||||
|
||||
/// \macro LLVM_ASSUME_ALIGNED
|
||||
/// \brief Returns a pointer with an assumed alignment.
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
#if !defined(__clang__) && ((__GNUC__ > 4) \
|
||||
|| (__GNUC__ == 4 && __GNUC_MINOR__ >= 7))
|
||||
// FIXME: Enable on clang when it supports it.
|
||||
# define LLVM_ASSUME_ALIGNED(p, a) __builtin_assume_aligned(p, a)
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user