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

            Bug ID: 43040
           Summary: riscv - error in backend: Cannot select:
                    0x55d7f7ff1300: f32 = fcopysign 0x55d7f7ff1c58,
                    0x55d7f7fe9fb8
           Product: clang
           Version: 9.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangb...@nondot.org
          Reporter: raj.k...@gmail.com
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@metafoo.co.uk

Created attachment 22391
  --> https://bugs.llvm.org/attachment.cgi?id=22391&action=edit
test case

When compiling mesa with clang for riscv64 following error is seen

fatal error: error in backend: Cannot select: 0x55d7f7ff1300: f32 = fcopysign
0x55d7f7ff1c58, 0x55d7f7fe9fb8,
src/compiler/nir/nir_constant_expressions.c:15563:10 @[
src/compiler/nir/nir_constant_expressions.c:20612:14 ]
  0x55d7f7ff1c58: f32,ch = load<(load 4 from constant-pool)> 0x55d7f74dc958,
0x55d7f8206180, undef:i64
    0x55d7f8206180: i64 = PseudoLLA TargetConstantPool:i64<float 0.000000e+00>
0
      0x55d7f7ff1d90: i64 = TargetConstantPool<float 0.000000e+00> 0
    0x55d7f8206048: i64 = undef
  0x55d7f7fe9fb8: f64,ch = CopyFromReg 0x55d7f74dc958, Register:f64 %2081,
src/compiler/nir/nir_constant_expressions.c:15563:26 @[
src/compiler/nir/nir_constant_expressions.c:20612:14 ]
    0x55d7f8205a98: f64 = Register %2081
In function: nir_eval_const_opcode
clang-9: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 9.0.0 (https://github.com/llvm/llvm-project
150ad3120e346ed8dff2bdda458a72e734b1879a)
Target: riscv64-yoe-linux

-- 
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