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:
commit
893beb432f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue