Commit dc22773a authored by Thomas's avatar Thomas Committed by Paige, Alexander

Fixing internal build warning.

Change-Id: Ie37e6fee55edc4a108da21dce4ed276279bfc16b
parent 66ad47d6
......@@ -1129,7 +1129,7 @@ void GenSpecificPattern::visitCastInst(CastInst &I)
}
if(srcVal && srcVal->getOperand(0)->getType() == I.getType())
{
if(srcVal = dyn_cast<Instruction>(srcVal->getOperand(0)))
if((srcVal = dyn_cast<Instruction>(srcVal->getOperand(0))))
{
// need fast math to know that we can ignore Nan
if(srcVal->isFast())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment