|
157 | 157 |
|
158 | 158 | // FIXME: This case leaves nnan and ninf. That seems wrong!
|
159 | 159 | // RUN: %clang -### -ffast-math -fno-unsafe-math-optimizations -c %s 2>&1 \
|
160 |
| -// RUN: | FileCheck --check-prefixes=CHECK,NO-FAST,NINF,NNAN,FINITE-ONLY,NO-REASSOC,NO-NSZ,NO-ARCP,NO-AFN,NOROUNDING %s |
| 160 | +// RUN: | FileCheck --check-prefixes=CHECK,NO-FAST,NINF,NNAN,FINITE-ONLY,NO-REASSOC,NO-NSZ,NO-ARCP,NO-AFN,NOROUNDING,NO-TRAPPING %s |
161 | 161 | // RUN: %clang -### -ffast-math -fmath-errno -c %s 2>&1 \
|
162 | 162 | // RUN: | FileCheck --check-prefixes=CHECK,NO-FAST,NINF,NNAN,FINITE-ONLY,REASSOC,NSZ,ARCP,AFN,CONTRACT-FAST,ERRNO,NOROUNDING %s
|
163 | 163 | // RUN: %clang -### -ffast-math -fno-associative-math -c %s 2>&1 \
|
|
209 | 209 |
|
210 | 210 | // RUN: %clang -### -funsafe-math-optimizations -fno-unsafe-math-optimizations \
|
211 | 211 | // RUN: -c %s 2>&1 \
|
212 |
| -// RUN: | FileCheck --check-prefixes=CHECK,NO-UNSAFE,NO-REASSOC,NO-ARCP,NO-NSZ,NO-AFN %s |
| 212 | +// RUN: | FileCheck --check-prefixes=CHECK,NO-UNSAFE,NO-REASSOC,NO-ARCP,NO-NSZ,NO-AFN,NO-TRAPPING %s |
213 | 213 | // RUN: %clang -### -ffast-math -fno-associative-math -c %s 2>&1 \
|
214 | 214 | // RUN: | FileCheck --check-prefixes=CHECK,NO-UNSAFE,NO-REASSOC,ARCP,NSZ,AFN %s
|
215 | 215 |
|
|
224 | 224 | // RUN: %clang -### -ffast-math -ftrapping-math -c %s 2>&1 \
|
225 | 225 | // RUN: | FileCheck --check-prefixes=CHECK,NO-FAST,NO-UNSAFE,ARCP,NSZ,AFN,TRAPPING %s
|
226 | 226 |
|
227 |
| -// FIXME: -fno-unsafe-math-optimizations shouldn't imply trapping math |
228 | 227 | // RUN: %clang -### -ffast-math -fno-unsafe-math-optimizations -c %s 2>&1 \
|
229 |
| -// RUN: | FileCheck --check-prefixes=CHECK,NO-FAST,NO-UNSAFE,NO-ARCP,NO-NSZ,NO-AFN,TRAPPING %s |
| 228 | +// RUN: | FileCheck --check-prefixes=CHECK,NO-FAST,NO-UNSAFE,NO-ARCP,NO-NSZ,NO-AFN,NO-TRAPPING %s |
230 | 229 |
|
231 | 230 | // Reassociate is allowed because it does not require reciprocal-math.
|
232 | 231 |
|
|
0 commit comments