HomePhabricator

[CommandInterpreter] Early return on error (NFC)

Authored by JDevlieghere on Feb 7 2019, 1:51 PM.

Description

[CommandInterpreter] Early return on error (NFC)

We save two levels of indentation by returning early if the given file
doesn't exists or cannot be opened.

llvm-svn: 353472

Details

Committed
JDevlieghereFeb 7 2019, 1:51 PM
Parents
rG96f54de8ff5d: [InstCombine] Optimize `atomicrmw <op>, 0` into `load atomic` when possible
Branches
Unknown
Tags
Unknown