-
-
Notifications
You must be signed in to change notification settings - Fork 272
Open
Description
On PPC64 there is an assertion failure while compiling std.math:
ldc2: /opt/llvm/include/llvm/IR/Instructions.h:1113: void llvm::ICmpInst::AssertOK(): Assertion `(getOperand(0)->getType()->isIntOrIntVectorTy() || getOperand(0)->getType()->isPtrOrPtrVectorTy()) && "Invalid operand types for ICmp instruction"' failed.
In toir.cpp, line 1195, an ICmp instruction is generated. The assertion is triggered because both operands have floating point type.
Reactions are currently unavailable