summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/sse-builtins.c
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-06-09 09:09:19 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-06-09 09:09:19 +0000
commit2be29929beb4541f202c6a2301920a61fd3a75f5 (patch)
tree4c1cbe5fcc9e0ca68948b3fc5bbf49f37dff4cf3 /clang/test/CodeGen/sse-builtins.c
parent66c6a18d39698957f6f3433337654686201213c7 (diff)
downloadbcm5719-llvm-2be29929beb4541f202c6a2301920a61fd3a75f5.tar.gz
bcm5719-llvm-2be29929beb4541f202c6a2301920a61fd3a75f5.zip
Fix line numbers for code inlined from __nodebug__ functions.
Instructions from __nodebug__ functions don't have file:line information even when inlined into no-nodebug functions. As a result, intrinsics (SSE and other) from <*intrin.h> clang headers _never_ have file:line information. With this change, an instruction without !dbg metadata gets one from the call instruction when inlined. Fixes PR19001. llvm-svn: 210459
Diffstat (limited to 'clang/test/CodeGen/sse-builtins.c')
-rw-r--r--clang/test/CodeGen/sse-builtins.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/sse-builtins.c b/clang/test/CodeGen/sse-builtins.c
index 874cf6dee05..238454bb92e 100644
--- a/clang/test/CodeGen/sse-builtins.c
+++ b/clang/test/CodeGen/sse-builtins.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -ffreestanding -triple x86_64-apple-macosx10.8.0 -target-feature +sse4.1 -g -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -ffreestanding -triple x86_64-apple-macosx10.8.0 -target-feature +sse4.1 -emit-llvm %s -o - | FileCheck %s
#include <xmmintrin.h>
#include <emmintrin.h>
@@ -64,7 +64,7 @@ __m128 test_load1_ps(void* y) {
void test_store_ss(__m128 x, void* y) {
// CHECK-LABEL: define void @test_store_ss
- // CHECK: store {{.*}} float* {{.*}}, align 1,
+ // CHECK: store {{.*}} float* {{.*}}, align 1{{$}}
_mm_store_ss(y, x);
}
OpenPOWER on IntegriCloud