Commit 934faaa
STYLE: Simplify AVX detection guards to #ifndef form
Replace the redundant `!defined(__AVX__) || !__AVX__` pattern with the
conventional `#ifndef __AVX__` form. All major compilers (GCC, Clang,
MSVC /arch:AVX) define __AVX__ as 1 (never 0) when AVX is active, so
the `|| !__AVX__` branch is dead code.
Addresses Greptile P2 review comment.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 3662401 commit 934faaa
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
0 commit comments