[llvm-bugs] [Bug 44515] New: Crash with __builtin_signbitl for aarch64

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 10 13:33:00 PST 2020


            Bug ID: 44515
           Summary: Crash with __builtin_signbitl for aarch64
           Product: libraries
           Version: 9.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: qiuc12 at gmail.com
                CC: arnaud.degrandmaison at arm.com,
                    llvm-bugs at lists.llvm.org, peter.smith at linaro.org,
                    Ties.Stuij at arm.com

Compiling following code fails with aarch64:

long double d();

bool foo() {
  return __builtin_signbitl(d());

clang-9 builtin_signbit.cpp --target=aarch64-gnu-linux
Fails with:

llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp:907: void
llvm::MachineIRBuilder::validateSelectOp(const llvm::LLT&, const llvm::LLT&,
const llvm::LLT&, const llvm::LLT&): Assertion `(ResTy == Op0Ty && ResTy ==
Op1Ty) && "type mismatch"' failed.

clang 9.0.1

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/20200110/b634c59f/attachment.html>

More information about the llvm-bugs mailing list