[Parse] Reuse OptionUnroll rather than matching it again. NFC

llvm-svn: 266829
This commit is contained in:
Adam Nemet 2016-04-19 22:29:24 +00:00
parent 1ee27c74cb
commit b4b6a94dd7
1 changed files with 1 additions and 2 deletions

View File

@ -824,8 +824,7 @@ bool Parser::HandlePragmaLoopHint(LoopHint &Hint) {
StateOption = llvm::StringSwitch<bool>(OptionInfo->getName())
.Case("vectorize", true)
.Case("interleave", true)
.Case("unroll", true)
.Default(false);
.Default(false) || OptionUnroll;
}
// Verify loop hint has an argument.