Issue 203195
Summary [X86] error in backend: Cannot emit physreg copy instruction
Labels
Assignees
Reporter Andarwinux
    https://godbolt.org/z/KMPz1oKEr
```llvm
define <16 x float> @a(ptr %0, ptr %1) {
  %3 = load <16 x float>, ptr %0, align 64
  %4 = fadd <16 x float> %3, %3
  %5 = load <16 x float>, ptr %1, align 64
  %6 = fadd <16 x float> %4, %5
  %7 = fadd <16 x float> %6, zeroinitializer
  %8 = fadd <16 x float> %7, splat (float 1.000000e+00)
 ret <16 x float> %8
}
```
-O3 -march=tigerlake --target=x86_64-pc-windows-gnu -O3 -mllvm  -slp-revec
```
fatal error: error in backend: Cannot emit physreg copy instruction
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
Stack dump:
0.      Program arguments: clang -O3 -march=tigerlake --target=x86_64-pc-windows-gnu -O3 -mllvm -slp-revec -w -c reduced.ll
1.      Code generation
2.      Running pass 'Function Pass Manager' on module 'reduced.ll'.
3.      Running pass 'Post-RA pseudo instruction expansion pass' on function '@a'
#0 0x00005dc2189d7b96 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) Signals.cpp:0:0
clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to