Skip to content

Commit 7110065

Browse files
committed
Fixed wrong variable name
1 parent 93fdecf commit 7110065

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,8 @@ static Value *expandRadiansIntrinsic(CallInst *Orig) {
410410
Value *X = Orig->getOperand(0);
411411
Type *Ty = X->getType();
412412
IRBuilder<> Builder(Orig);
413-
Value *OneEightyOverPi = ConstantFP::get(Ty, llvm::numbers::pi / 180.0);
414-
return Builder.CreateFMul(X, OneEightyOverPi);
413+
Value *PiOver180 = ConstantFP::get(Ty, llvm::numbers::pi / 180.0);
414+
return Builder.CreateFMul(X, PiOver180);
415415
}
416416

417417

0 commit comments

Comments
 (0)