Issue 61645
Summary "crypto" no longer implies "aes" on aarch64
Labels new issue
Assignees
Reporter ebiggers
    With `-target aarch64-linux-gnu`, Clang 15 can compile the following code but Clang 16 cannot:

```c
#include <arm_neon.h>                                                            
 
poly128_t __attribute__((target("crypto"))) 
f(poly64_t a, poly64_t b) 
{ 
        return vmull_p64(a, b); 
} 
```

Clang 16 reports:

```
test.c:6:9: error: always_inline function 'vmull_p64' requires target feature 'aes', but would be inlined into function 'f' that is compiled without support for 'aes'
        return vmull_p64(a, b);
 ^
```

Is this an intentional breaking change?
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to