Skip to content

Commit 7b698a0

Browse files
author
git apple-llvm automerger
committed
Merge commit '62bdb49161fd' from apple/master into swift/master-next
2 parents e1e20bb + 62bdb49 commit 7b698a0

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)