[PATCH] Fix line numbers for code inlined from __nodebug__ functions.

David Blaikie dblaikie at gmail.com
Tue Jun 3 14:54:59 PDT 2014


================
Comment at: tools/clang/test/CodeGen/sse-builtins.c:9
@@ -8,3 +8,3 @@
   // CHECK: define {{.*}} @test_rsqrt_ss
-  // CHECK: call <4 x float> @llvm.x86.sse.rsqrt.ss
+  // CHECK: call <4 x float> @llvm.x86.sse.rsqrt.ss{{.*}}, !dbg
   // CHECK: extractelement <4 x float> {{.*}}, i32 0
----------------
Does this need to be tested here (and for /every/ intrinsic)? Seems fair to just test this once. (I guess somewhere we test that the intrinsics have nodebug on them in some way already?)

http://reviews.llvm.org/D3988






More information about the llvm-commits mailing list