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

            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: [email protected]
          Reporter: [email protected]
                CC: [email protected],
                    [email protected], [email protected],
                    [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to