[llvm] r187368 - Add the C source code to the test to make it easier to update when debug info changes.
Nadav Rotem
nrotem at apple.com
Mon Jul 29 11:47:36 PDT 2013
Author: nadav
Date: Mon Jul 29 13:47:36 2013
New Revision: 187368
URL: http://llvm.org/viewvc/llvm-project?rev=187368&view=rev
Log:
Add the C source code to the test to make it easier to update when debug info changes.
Thanks Eric.
Modified:
llvm/trunk/test/Transforms/SLPVectorizer/X86/debug_info.ll
Modified: llvm/trunk/test/Transforms/SLPVectorizer/X86/debug_info.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SLPVectorizer/X86/debug_info.ll?rev=187368&r1=187367&r2=187368&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SLPVectorizer/X86/debug_info.ll (original)
+++ llvm/trunk/test/Transforms/SLPVectorizer/X86/debug_info.ll Mon Jul 29 13:47:36 2013
@@ -3,6 +3,15 @@
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.7.0"
+; int depth(double *A, int m) {
+; double y0 = 0; double y1 = 1;
+; for (int i=0; i < m; i++) {
+; y0 = A[4];
+; y1 = A[5];
+; }
+; A[8] = y0; A[8+1] = y1;
+; }
+
;CHECK: @depth
;CHECK: getelementptr inbounds {{.*}}, !dbg !24
;CHECK: bitcast double* {{.*}}, !dbg !24
More information about the llvm-commits
mailing list