diff options
author | Eric Christopher <echristo@gmail.com> | 2015-10-14 05:40:21 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2015-10-14 05:40:21 +0000 |
commit | cd875efa7860864d19a7efc848394a16fbd9d73a (patch) | |
tree | fd1891611cc659ad63f7ddef449d83ca9d62f6a2 /clang/test/CodeGen/bmi2-builtins.c | |
parent | 442c9b6b419bea74e9b1dfc7b50ca10645dc9750 (diff) | |
download | bcm5719-llvm-cd875efa7860864d19a7efc848394a16fbd9d73a.tar.gz bcm5719-llvm-cd875efa7860864d19a7efc848394a16fbd9d73a.zip |
Canonicalize some of the x86 builtin tests and either remove or comment
about optimization options.
llvm-svn: 250271
Diffstat (limited to 'clang/test/CodeGen/bmi2-builtins.c')
-rw-r--r-- | clang/test/CodeGen/bmi2-builtins.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/CodeGen/bmi2-builtins.c b/clang/test/CodeGen/bmi2-builtins.c index 5aa54fd0ec3..b4e3fec79a4 100644 --- a/clang/test/CodeGen/bmi2-builtins.c +++ b/clang/test/CodeGen/bmi2-builtins.c @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 %s -O3 -triple=x86_64-apple-darwin -target-feature +bmi2 -emit-llvm -o - | FileCheck %s -// RUN: %clang_cc1 %s -O3 -triple=i386-apple-darwin -target-feature +bmi2 -emit-llvm -o - | FileCheck %s --check-prefix=B32 +// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin -target-feature +bmi2 -emit-llvm -o - | FileCheck %s +// RUN: %clang_cc1 %s -triple=i386-apple-darwin -target-feature +bmi2 -emit-llvm -o - | FileCheck %s --check-prefix=B32 // Don't include mm_malloc.h, it's system specific. #define __MM_MALLOC_H @@ -24,9 +24,9 @@ unsigned int test_pext_u32(unsigned int __X, unsigned int __Y) { unsigned int test_mulx_u32(unsigned int __X, unsigned int __Y, unsigned int *__P) { // CHECK: @test_mulx_u32 - // CHECK-NOT: mul nuw i64 + // CHECK-NOT: mul i64 // B32: @test_mulx_u32 - // B32: mul nuw i64 + // B32: mul i64 return _mulx_u32(__X, __Y, __P); } @@ -48,6 +48,6 @@ unsigned long long test_pext_u64(unsigned long long __X, unsigned long long __Y) unsigned long long test_mulx_u64(unsigned long long __X, unsigned long long __Y, unsigned long long *__P) { // CHECK: @test_mulx_u64 - // CHECK: mul nuw i128 + // CHECK: mul i128 return _mulx_u64(__X, __Y, __P); } |