Issue |
159823
|
Summary |
[x86] Crash/miscompile using APX
|
Labels |
new issue
|
Assignees |
|
Reporter |
efriedma-quic
|
Build with `clang -mapx-features=egpr,ndd`:
```
void f(char*c) {
register char a asm("ah");
register char b asm("r16b");
asm("":"=r"(a), "=r"(b));
*c = a-b;
}
```
Crashes with:
```
fatal error: error in backend: Cannot encode high byte register in VEX/EVEX-prefixed instruction
```
(See also #158585.)
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs