Skip to content

Commit 62bdb49

Browse files
author
git apple-llvm automerger
committed
Merge commit 'e958379581e5' from llvm.org/master into apple/master
2 parents 9fc58cc + e958379 commit 62bdb49

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/X86/X86ISelDAGToDAG.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,8 @@ namespace {
182182
"indirect-tls-seg-refs");
183183

184184
// OptFor[Min]Size are used in pattern predicates that isel is matching.
185-
bool OptForSize = MF.getFunction().hasOptSize();
186185
OptForMinSize = MF.getFunction().hasMinSize();
187-
assert((!OptForMinSize || OptForSize) &&
186+
assert((!OptForMinSize || MF.getFunction().hasOptSize()) &&
188187
"OptForMinSize implies OptForSize");
189188

190189
SelectionDAGISel::runOnMachineFunction(MF);

0 commit comments

Comments
 (0)