[llvm] 4fdd24b - [RemoveDIs][NFC] Update SelectionDAG test to check RemoveDIs mode too

via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 8 03:56:19 PST 2024


Author: OCHyams
Date: 2024-01-08T11:56:04Z
New Revision: 4fdd24b8d355e49d657c7c8a380b6f9b1b47ce1e

URL: https://github.com/llvm/llvm-project/commit/4fdd24b8d355e49d657c7c8a380b6f9b1b47ce1e
DIFF: https://github.com/llvm/llvm-project/commit/4fdd24b8d355e49d657c7c8a380b6f9b1b47ce1e.diff

LOG: [RemoveDIs][NFC] Update SelectionDAG test to check RemoveDIs mode too

In line with other RemoveDIs test updates. This test fails without #76941.

Added: 
    

Modified: 
    llvm/test/DebugInfo/X86/sdag-dangling-dbgvalue.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/X86/sdag-dangling-dbgvalue.ll b/llvm/test/DebugInfo/X86/sdag-dangling-dbgvalue.ll
index 629c236f68319b..600d6d83796400 100644
--- a/llvm/test/DebugInfo/X86/sdag-dangling-dbgvalue.ll
+++ b/llvm/test/DebugInfo/X86/sdag-dangling-dbgvalue.ll
@@ -5,6 +5,16 @@
 ; RUN:    -experimental-debug-variable-locations=true \
 ; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF
 
+; Repeat checks with experimental debginfo iterators.
+; RUN: llc %s -stop-before finalize-isel -o - \
+; RUN:    -try-experimental-debuginfo-iterators \
+; RUN:    -experimental-debug-variable-locations=false \
+; RUN: | FileCheck %s --check-prefixes=CHECK,DBGVALUE
+; RUN: llc %s -stop-before finalize-isel -o - \
+; RUN:    -try-experimental-debuginfo-iterators \
+; RUN:    -experimental-debug-variable-locations=true \
+; RUN: | FileCheck %s --check-prefixes=CHECK,INSTRREF
+
 ;--------------------------------------------------------------------
 ; This test case is basically generated from the following C code.
 ; Compiled with "--target=x86_64-apple-darwin -S -g -O3" to get debug


        


More information about the llvm-commits mailing list