[llvm] r225810 - Update multiline.ll testcase to handle (ppc64le) .localentry directive

Will Schmidt will_schmidt at vnet.ibm.com
Tue Jan 13 10:17:08 PST 2015


Author: willschm
Date: Tue Jan 13 12:17:08 2015
New Revision: 225810

URL: http://llvm.org/viewvc/llvm-project?rev=225810&view=rev
Log:
Update multiline.ll testcase to handle (ppc64le) .localentry directive

The ppc64le platform will emit a .localentry directive. This is triggering
a false-positive against a CHECK-NOT: .loc in multiline.ll.
Add a space "{{ }}" to the check-not line to allow for arguments, and
prevent .localentry from matching.


Differential Revision: http://reviews.llvm.org/D6935



Modified:
    llvm/trunk/test/DebugInfo/multiline.ll

Modified: llvm/trunk/test/DebugInfo/multiline.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/multiline.ll?rev=225810&r1=225809&r2=225810&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/multiline.ll (original)
+++ llvm/trunk/test/DebugInfo/multiline.ll Tue Jan 13 12:17:08 2015
@@ -14,7 +14,7 @@
 
 
 ; CHECK: .loc	1 2 0{{$}}
-; CHECK-NOT: .loc
+; CHECK-NOT: .loc{{ }}
 ; CHECK: .loc	1 3 3 prologue_end{{$}}
 ; CHECK-NOT: .loc
 ; CHECK: .loc	1 3 9 is_stmt 0{{$}}





More information about the llvm-commits mailing list