1*f4a2713aSLionel Sambuc // RUN: %clang -Ofast -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST %s 2*f4a2713aSLionel Sambuc // RUN: %clang -O2 -Ofast -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST %s 3*f4a2713aSLionel Sambuc // RUN: %clang -fno-fast-math -Ofast -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST %s 4*f4a2713aSLionel Sambuc // RUN: %clang -fno-strict-aliasing -Ofast -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST %s 5*f4a2713aSLionel Sambuc // RUN: %clang -fno-vectorize -Ofast -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST %s 6*f4a2713aSLionel Sambuc // RUN: %clang -Ofast -O2 -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST-O2 %s 7*f4a2713aSLionel Sambuc // RUN: %clang -Ofast -fno-fast-math -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST-NO-FAST-MATH %s 8*f4a2713aSLionel Sambuc // RUN: %clang -Ofast -fno-strict-aliasing -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST-NO-STRICT-ALIASING %s 9*f4a2713aSLionel Sambuc // RUN: %clang -Ofast -fno-vectorize -### %s 2>&1 | FileCheck -check-prefix=CHECK-OFAST-NO-VECTORIZE %s 10*f4a2713aSLionel Sambuc 11*f4a2713aSLionel Sambuc // CHECK-OFAST: -cc1 12*f4a2713aSLionel Sambuc // CHECK-OFAST-NOT: -relaxed-aliasing 13*f4a2713aSLionel Sambuc // CHECK-OFAST: -ffast-math 14*f4a2713aSLionel Sambuc // CHECK-OFAST: -Ofast 15*f4a2713aSLionel Sambuc // CHECK-OFAST: -vectorize-loops 16*f4a2713aSLionel Sambuc 17*f4a2713aSLionel Sambuc // CHECK-OFAST-O2: -cc1 18*f4a2713aSLionel Sambuc // CHECK-OFAST-O2-NOT: -relaxed-aliasing 19*f4a2713aSLionel Sambuc // CHECK-OFAST-O2-NOT: -ffast-math 20*f4a2713aSLionel Sambuc // CHECK-OFAST-O2-NOT: -Ofast 21*f4a2713aSLionel Sambuc // CHECK-OFAST-O2: -vectorize-loops 22*f4a2713aSLionel Sambuc 23*f4a2713aSLionel Sambuc // CHECK-OFAST-NO-FAST-MATH: -cc1 24*f4a2713aSLionel Sambuc // CHECK-OFAST-NO-FAST-MATH-NOT: -relaxed-aliasing 25*f4a2713aSLionel Sambuc // CHECK-OFAST-NO-FAST-MATH-NOT: -ffast-math 26*f4a2713aSLionel Sambuc // CHECK-OFAST-NO-FAST-MATH: -Ofast 27*f4a2713aSLionel Sambuc // CHECK-OFAST-NO-FAST-MATH: -vectorize-loops 28*f4a2713aSLionel Sambuc 29*f4a2713aSLionel Sambuc // CHECK-OFAST-NO-STRICT-ALIASING: -cc1 30*f4a2713aSLionel Sambuc // CHECK-OFAST-NO-STRICT-ALIASING: -relaxed-aliasing 31*f4a2713aSLionel Sambuc // CHECK-OFAST-NO-STRICT-ALIASING: -ffast-math 32*f4a2713aSLionel Sambuc // CHECK-OFAST-NO-STRICT-ALIASING: -Ofast 33*f4a2713aSLionel Sambuc // CHECK-OFAST-NO-STRICT-ALIASING: -vectorize-loops 34*f4a2713aSLionel Sambuc 35*f4a2713aSLionel Sambuc // CHECK-OFAST-NO-VECTORIZE: -cc1 36*f4a2713aSLionel Sambuc // CHECK-OFAST-NO-VECTORIZE-NOT: -relaxed-aliasing 37*f4a2713aSLionel Sambuc // CHECK-OFAST-NO-VECTORIZE: -ffast-math 38*f4a2713aSLionel Sambuc // CHECK-OFAST-NO-VECTORIZE: -Ofast 39*f4a2713aSLionel Sambuc // CHECK-OFAST-NO-VECTORIZE-NOT: -vectorize-loops 40