1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Merge pull request #1821 from MineGame159/codegen_double_intrinsics_fix

Fix codegen emitting wrong instructions for double vector types
This commit is contained in:
Brian Fiete 2023-03-31 11:45:21 -07:00 committed by GitHub
commit 893beb432f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3103,7 +3103,7 @@ void BfIRCodeGen::HandleNextCmd()
{
auto vecType = llvm::dyn_cast<llvm::VectorType>(val0->getType());
auto elemType = vecType->getElementType();
bool isFP = elemType->isFloatTy();
bool isFP = elemType->isFloatingPointTy();
llvm::Value* val1;
if (args.size() < 2)