Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Preprocessor / hash_builtin.cpp
blob77d186c7883f22d14a5e831572da6a24ab0190ea
1 // RUN: %clang_cc1 -triple amdgcn -target-cpu gfx906 -E %s -o - | FileCheck %s
3 // CHECK: has_s_memtime_inst
4 #if __has_builtin(__builtin_amdgcn_s_memtime)
5 int has_s_memtime_inst;
6 #endif
8 // CHECK-NOT: has_gfx10_inst
9 #if __has_builtin(__builtin_amdgcn_mov_dpp8)
10 int has_gfx10_inst;
11 #endif