Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / x86-hreset-intrin.c
blob1c6ed8ceddbc95f31ed6d97ab7f14462374b11a4
1 // RUN: %clang_cc1 %s -ffreestanding -triple x86_64-unknown-unknown -target-feature +hreset -emit-llvm -o - | FileCheck %s
2 // RUN: %clang_cc1 %s -ffreestanding -triple i386-unknown-unknown -target-feature +hreset -emit-llvm -o - | FileCheck %s
4 #include <immintrin.h>
6 void test_hreset(int a)
8 // CHECK-LABEL: test_hreset
9 // CHECK: call void asm sideeffect "hreset $$0", "{ax},~{dirflag},~{fpsr},~{flags}"(i32 %{{[0-9]}})
10 _hreset(a);