forked from OSchip/llvm-project
[Support] Remove stale comment
Clang has supported __builtin_assume_aligned since r217349 back in 2014, so the comment is very out of date.
This commit is contained in:
parent
e09064e97f
commit
e99d50d844
|
@ -373,7 +373,6 @@
|
|||
#if __has_builtin(__builtin_assume_aligned) || LLVM_GNUC_PREREQ(4, 7, 0)
|
||||
# define LLVM_ASSUME_ALIGNED(p, a) __builtin_assume_aligned(p, a)
|
||||
#elif defined(LLVM_BUILTIN_UNREACHABLE)
|
||||
// As of today, clang does not support __builtin_assume_aligned.
|
||||
# define LLVM_ASSUME_ALIGNED(p, a) \
|
||||
(((uintptr_t(p) % (a)) == 0) ? (p) : (LLVM_BUILTIN_UNREACHABLE, (p)))
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue