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: unassignedb...@nondot.org
          Reporter: eustas...@gmail.com
                CC: htmldevelo...@gmail.com, llvm-bugs@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@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to