Skip to content

Commit 1571c54

Browse files
committed
Addressed PR nit comments
1 parent 50ed443 commit 1571c54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/lib/Target/DirectX/DXILLegalizePass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ static void removeMemSet(Instruction &I,
407407

408408
static void updateFnegToFsub(Instruction &I,
409409
SmallVectorImpl<Instruction *> &ToRemove,
410-
DenseMap<Value *, Value *> &ReplacedValues) {
410+
DenseMap<Value *, Value *> &) {
411411
const Intrinsic::ID ID = I.getOpcode();
412412
if(ID != Instruction::FNeg)
413413
return;

llvm/test/CodeGen/DirectX/legalize-fneg.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ define double @negateD(double %x) {
2020
entry:
2121
%y = fneg double %x
2222
ret double %y
23-
}
23+
}

0 commit comments

Comments
 (0)