mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fix codegen emitting wrong instructions for double vector types
This commit is contained in:
parent
7083739120
commit
3644486b69
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 vecType = llvm::dyn_cast<llvm::VectorType>(val0->getType());
|
||||||
auto elemType = vecType->getElementType();
|
auto elemType = vecType->getElementType();
|
||||||
bool isFP = elemType->isFloatTy();
|
bool isFP = elemType->isFloatingPointTy();
|
||||||
|
|
||||||
llvm::Value* val1;
|
llvm::Value* val1;
|
||||||
if (args.size() < 2)
|
if (args.size() < 2)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue