Commit 11a2144
committed
[NFC][X86][ISel] Remove the unused assert
The condition of assert is always true, so just remove it.
OptForMinSize means hasMinSize(), which is hasFnAttribute(Attribute::MinSize).
hasOptSize() is hasFnAttribute(Attribute::OptimizeForSize) || hasMinSize().
So, '!hasMinSize() || hasFnAttribute(Attribute::OptimizeForSize) || hasMinSize()'
is awalys true.1 parent f6417f1 commit 11a2144
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
188 | | - | |
189 | 187 | | |
190 | 188 | | |
191 | 189 | | |
| |||
0 commit comments