diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/machine-outliner-debuginfo.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/machine-outliner-debuginfo.ll | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/machine-outliner-debuginfo.ll b/llvm/test/CodeGen/X86/machine-outliner-debuginfo.ll index 3f6552ab2f7..e7482c091bf 100644 --- a/llvm/test/CodeGen/X86/machine-outliner-debuginfo.ll +++ b/llvm/test/CodeGen/X86/machine-outliner-debuginfo.ll @@ -10,7 +10,8 @@ define i32 @main() #0 !dbg !11 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 ; There is a debug value in the middle of this section, make sure debug values are ignored. - ; CHECK: callq l_OUTLINED_FUNCTION_0 + ; CHECK: callq + ; CHECK-SAME: OUTLINED_FUNCTION_0 store i32 1, i32* %2, align 4 store i32 2, i32* %3, align 4 store i32 3, i32* %4, align 4 @@ -20,7 +21,8 @@ define i32 @main() #0 !dbg !11 { call void asm sideeffect "", "~{memory},~{dirflag},~{fpsr},~{flags}"() ; This is the same sequence of instructions without a debug value. It should be outlined ; in the same way. - ; CHECK: callq l_OUTLINED_FUNCTION_0 + ; CHECK: callq + ; CHECK-SAME: OUTLINED_FUNCTION_0 store i32 1, i32* %2, align 4 store i32 2, i32* %3, align 4 store i32 3, i32* %4, align 4 @@ -29,7 +31,7 @@ define i32 @main() #0 !dbg !11 { ret i32 0, !dbg !25 } -; CHECK-LABEL: l_OUTLINED_FUNCTION_0: +; CHECK: OUTLINED_FUNCTION_0: ; CHECK-NOT: .loc {{[0-9]+}} {{[0-9]+}} {{[0-9]+}} {{^(is_stmt)}} ; CHECK-NOT: ##DEBUG_VALUE: main:{{[a-z]}} <- {{[0-9]+}} ; CHECK: movl $1, -{{[0-9]+}}(%rbp) |

