since the new Intel compiler is LLVM based the _noalias macro needs to be defined like for GNU and Clang

This commit is contained in:
Axel Kohlmeyer 2021-05-22 18:35:15 -04:00
parent 7ba0d553e4
commit c0d13d064c
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 2 additions and 2 deletions

View File

@ -252,9 +252,9 @@ union ubuf {
// declaration to lift aliasing restrictions
#if defined(__INTEL_LLVM_COMPILER) || defined(__INTEL_COMPILER)
#if defined(__INTEL_COMPILER)
#define _noalias restrict
#elif defined(__GNUC__)
#elif defined(__GNUC__) || defined(__INTEL_LLVM_COMPILER)
#define _noalias __restrict
#else
#define _noalias