MainSwitch::isValidSelectInst - don't dereference dyn_cast<> results.
We've already checked that the pointer isa<PHINode>, so we can use cast<Instruction> safely. Fixes static analyser warning.
Loading
Please sign in to comment
We've already checked that the pointer isa<PHINode>, so we can use cast<Instruction> safely. Fixes static analyser warning.