[llvm] 83f7b91 - [SelectionDAG] Update test case according to post review comments, NFC

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 21:02:34 PDT 2023


Author: Phoebe Wang
Date: 2023-06-10T12:02:27+08:00
New Revision: 83f7b91ab8c6cbb261fb12bf720235b14283f46a

URL: https://github.com/llvm/llvm-project/commit/83f7b91ab8c6cbb261fb12bf720235b14283f46a
DIFF: https://github.com/llvm/llvm-project/commit/83f7b91ab8c6cbb261fb12bf720235b14283f46a.diff

LOG: [SelectionDAG] Update test case according to post review comments, NFC

Differential Revision: https://reviews.llvm.org/D152492

Added: 
    

Modified: 
    llvm/test/DebugInfo/X86/dbg-value-no-crash.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/X86/dbg-value-no-crash.ll b/llvm/test/DebugInfo/X86/dbg-value-no-crash.ll
index 8ff055f13ad15..1b3aa34963388 100644
--- a/llvm/test/DebugInfo/X86/dbg-value-no-crash.ll
+++ b/llvm/test/DebugInfo/X86/dbg-value-no-crash.ll
@@ -1,6 +1,8 @@
-; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mattr=avx512bw,avx512vl -o - %s
+; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mattr=avx512bw,avx512vl -o - %s -stop-before livedebugvalues | FileCheck %s
+
+;; Check we won't salvage debug info for vector type.
+; CHECK-NOT: DBG_VALUE
 
-;; Check this won't result in crash.
 define <8 x i32> @foo(ptr %0, <8 x i32> %1, i8 %2, i8 %3) {
   %5 = call <8 x i32> @llvm.smax.v8i32(<8 x i32> %1, <8 x i32> zeroinitializer)
   %6 = add nsw <8 x i32> %1, <i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1>


        


More information about the llvm-commits mailing list