Skip to content

Commit

Permalink
fix irbuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
tgymnich committed Aug 29, 2024
1 parent 2259fec commit 78c8d82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,13 +362,13 @@ static Value *expandClampIntrinsic(CallInst *Orig,
}

static Value *expandSignIntrinsic(CallInst *Orig) {
IRBuilder<> Builder(Orig->getParent());
Value *X = Orig->getOperand(0);
Type *Ty = X->getType();
Type *ScalarTy = Ty->getScalarType();
Type *RetTy = Orig->getType();
Constant *Zero = Constant::getNullValue(Ty);
Builder.SetInsertPoint(Orig);

IRBuilder<> Builder(Orig);

Value *GT;
Value *LT;
Expand Down

0 comments on commit 78c8d82

Please sign in to comment.