[llvm-bugs] [Bug 43139] New: SIMD: various "error in backend: Cannot select..."
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Aug 28 02:56:30 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43139
Bug ID: 43139
Summary: SIMD: various "error in backend: Cannot select..."
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: eustas.ru at gmail.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
Created attachment 22443
--> https://bugs.llvm.org/attachment.cgi?id=22443&action=edit
preprocessed source
Checked on several builds from version 8.0.0 (trunk 342117) to 9.0.0 (trunk
366207)
Error location / "bad" instruction changes with slight code modifications.
Example output:
fatal error: error in backend: Cannot select: 0x9615a38: v4f32 =
X86ISD::VRNDSCALE 0x974aa80, Constant:i32<8>
0x974aa80: v4f32,ch = CopyFromReg 0x64fc3b8, Register:v4f32 %82
0x9803138: v4f32 = Register %82
0x9750920: i32 = Constant<8>
In function:
_ZZN4twim12_GLOBAL__N_114simulateEncodeEiRSt6vectorIPNS0_8FragmentESaIS3_EERKNS_11CodecParamsEENK3$_2clERKSt8functionIFDv4_fSC_EE
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 9.0.0 (trunk 366207)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/bin
Preprocessed source and script attached.
Steps to reproduce (using git and docker):
git clone https://github.com/eustas/2im.git
cd 2im
git checkout b39f82e4f6bf7a2e2a491e3cabaa53641e5e332a
docker run -it -v `pwd`/c:/c --entrypoint=/bin/bash
gcr.io/cloud-marketplace-containers/google/bazel at sha256:707089be09a8d4c28c140dc943d4e8b5757fa8ae10c2753063951a087ae83168
# entered the container
cd /c/
bazel build :main
# leave the container
exit
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190828/13174af5/attachment.html>
More information about the llvm-bugs
mailing list