Aokamal wrote:

Hi, 

Sorry I kind of don't know much about the change. We have the following code 
snippet
```
#if ABSL_HAVE_BUILTIN(__builtin_cpu_supports)
  if (__builtin_cpu_supports("avx2")) {
    ...
  }
#endif
```

when run with arm cpu, it fails with `error: builtin is not supported on this 
target` on the second if. Does it mean  ABSL_HAVE_BUILTIN is not accurate here ?

https://github.com/llvm/llvm-project/pull/68919
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to