[llvm-bugs] [Bug 35402] New: error in backend: Cannot select: 0x55ce75ede940: ch = PPCISD::STBRX<ST6[%177](align=1)>

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 23 19:08:20 PST 2017


https://bugs.llvm.org/show_bug.cgi?id=35402

            Bug ID: 35402
           Summary: error in backend: Cannot select: 0x55ce75ede940: ch =
                    PPCISD::STBRX<ST6[%177](align=1)>
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: joel at jms.id.au
                CC: llvm-bugs at lists.llvm.org

Created attachment 19463
  --> https://bugs.llvm.org/attachment.cgi?id=19463&action=edit
clang command line

I am building the Linux kernel for PowerPC, cross compiling from x86.

clang version 5.0.0-4 (tags/RELEASE_500/final)

The bug reproduces with clang version 6.0.0 (trunk 318937).


  CC [M]  drivers/net/ethernet/mellanox/mlx4/resource_tracker.o
fatal error: error in backend: Cannot select: 0x55ce75ede940: ch =
PPCISD::STBRX<ST6[%177](align=1)>
      0x55ce75f74b28, 0x55ce75edf090, 0x55ce75ed94c8, ValueType:ch:i48
  0x55ce75edf090: i32 = truncate 0x55ce75e9b398
    0x55ce75e9b398: i64 = srl 0x55ce75ed8ca8, Constant:i32<16>
      0x55ce75ed8ca8: i64,ch = CopyFromReg 0x55ce744f44e8, Register:i64 %vreg26
        0x55ce75f9bd08: i64 = Register %vreg26
      0x55ce75f74238: i32 = Constant<16>
  0x55ce75ed94c8: i64 = add 0x55ce75edeb48, Constant:i64<10>
    0x55ce75edeb48: i64,ch = CopyFromReg 0x55ce744f44e8, Register:i64 %vreg20
      0x55ce75f74f38: i64 = Register %vreg20
    0x55ce75e9b330: i64 = Constant<10>
In function: mlx4_QP_FLOW_STEERING_ATTACH_wrapper
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 5.0.0-4 (tags/RELEASE_500/final)
Target: powerpc64le--linux-gnu
Thread model: posix

-- 
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/20171124/061a4b69/attachment.html>


More information about the llvm-bugs mailing list