Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / X86 / sse-builtins-dbg.c
blob25678942a89f06009117e3ad8d94b778b9f4c4a0
1 // RUN: %clang_cc1 -ffreestanding -triple x86_64-apple-macosx10.8.0 -target-feature +sse4.1 -debug-info-kind=limited -emit-llvm %s -o - | FileCheck %s
3 // Test that intrinsic calls inlined from _mm_* wrappers have debug metadata.
5 #include <xmmintrin.h>
7 __m128 test_rsqrt_ss(__m128 x) {
8 // CHECK: define {{.*}} @test_rsqrt_ss
9 // CHECK: call <4 x float> @llvm.x86.sse.rsqrt.ss({{.*}}, !dbg !{{.*}}
10 // CHECK: ret <4 x float>
11 return _mm_rsqrt_ss(x);