[clang] 0ff9d8c - [CodeGen][X86] Remove unused check-prefix in bswap tests
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 30 09:16:44 PDT 2020
Author: Simon Pilgrim
Date: 2020-10-30T16:13:49Z
New Revision: 0ff9d8c8baa317f4135e08cfe8d64e4b824b7c49
URL: https://github.com/llvm/llvm-project/commit/0ff9d8c8baa317f4135e08cfe8d64e4b824b7c49
DIFF: https://github.com/llvm/llvm-project/commit/0ff9d8c8baa317f4135e08cfe8d64e4b824b7c49.diff
LOG: [CodeGen][X86] Remove unused check-prefix in bswap tests
Added:
Modified:
clang/test/CodeGen/X86/x86-bswap.c
Removed:
################################################################################
diff --git a/clang/test/CodeGen/X86/x86-bswap.c b/clang/test/CodeGen/X86/x86-bswap.c
index e952e4f5b127..fb4852c52408 100644
--- a/clang/test/CodeGen/X86/x86-bswap.c
+++ b/clang/test/CodeGen/X86/x86-bswap.c
@@ -1,28 +1,28 @@
-// RUN: %clang_cc1 -x c -ffreestanding %s -triple=x86_64-apple-darwin -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK,CHECKC
-// RUN: %clang_cc1 -x c++ -std=c++11 -ffreestanding %s -triple=x86_64-apple-darwin -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK,CHECKCPP
+// RUN: %clang_cc1 -x c -ffreestanding %s -triple=x86_64-apple-darwin -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -x c++ -std=c++11 -ffreestanding %s -triple=x86_64-apple-darwin -emit-llvm -o - | FileCheck %s
#include <x86intrin.h>
int test__bswapd(int X) {
-// CHECKC-LABEL: @test__bswapd
+// CHECK-LABEL: test__bswapd
// CHECK: call i32 @llvm.bswap.i32
return __bswapd(X);
}
int test_bswap(int X) {
-// CHECKC-LABEL: @test_bswap
+// CHECK-LABEL: test_bswap
// CHECK: call i32 @llvm.bswap.i32
return _bswap(X);
}
long test__bswapq(long long X) {
-// CHECKC-LABEL: @test__bswapq
+// CHECK-LABEL: test__bswapq
// CHECK: call i64 @llvm.bswap.i64
return __bswapq(X);
}
long test_bswap64(long long X) {
-// CHECKC-LABEL: @test_bswap64
+// CHECK-LABEL: test_bswap64
// CHECK: call i64 @llvm.bswap.i64
return _bswap64(X);
}
More information about the cfe-commits
mailing list