https://bugs.llvm.org/show_bug.cgi?id=51806
Bug ID: 51806
Summary: llvm::SelectionDAGISel crash when using
__builtin_copysign() with -march=armv8-a+nosimd
Product: new-bugs
Version: 12.0
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
See https://gcc.godbolt.org/z/917z95e7W
$ cat crash.c
double crash(double a, double b)
{
return __builtin_copysign(a, b);
}
$ clang -O2 -march=armv8-a+nosimd --target=arm64 -S crash.c -o /dev/null
fatal error: error in backend: Cannot select: 0x7fae361bb4e8: v2i64 =
AArch64ISD::BIT 0x7fae361bb210, 0x7fae361bb278, 0x7fae361bb480
...
Others FP related builtins doesn't seem to have problems with nosimd.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs