File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
llvm/lib/Transforms/InstCombine Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -1924,13 +1924,11 @@ Instruction *InstCombinerImpl::visitFDiv(BinaryOperator &I) {
19241924
19251925 Instruction *Replacement = replaceInstUsesWith (I, Res);
19261926
1927- if (!Op0AsCallBase->use_empty ())
1928- Op0AsCallBase->replaceAllUsesWith (
1929- PoisonValue::get (Op0AsCallBase->getType ()));
1927+ Op0AsCallBase->replaceAllUsesWith (
1928+ PoisonValue::get (Op0AsCallBase->getType ()));
19301929
1931- if (!Op1AsCallBase->use_empty ())
1932- Op1AsCallBase->replaceAllUsesWith (
1933- PoisonValue::get (Op1AsCallBase->getType ()));
1930+ Op1AsCallBase->replaceAllUsesWith (
1931+ PoisonValue::get (Op1AsCallBase->getType ()));
19341932
19351933 Op0AsCallBase->eraseFromParent ();
19361934 Op1AsCallBase->eraseFromParent ();
You can’t perform that action at this time.
0 commit comments