forked from OSchip/llvm-project
[Parse] Reuse OptionUnroll rather than matching it again. NFC
llvm-svn: 266829
This commit is contained in:
parent
1ee27c74cb
commit
b4b6a94dd7
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue