[llvm-bugs] [Bug 43040] New: riscv - error in backend: Cannot select: 0x55d7f7ff1300: f32 = fcopysign 0x55d7f7ff1c58, 0x55d7f7fe9fb8
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Aug 18 23:25:47 PDT 2019
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: unassignedclangbugs at nondot.org
Reporter: raj.khem at gmail.com
CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190819/589f2ea2/attachment.html>
More information about the llvm-bugs
mailing list