[SLP] fix test to have valid IR; NFC
authorSanjay Patel <spatel@rotateright.com>
Fri, 22 May 2020 12:39:22 +0000 (08:39 -0400)
committerSanjay Patel <spatel@rotateright.com>
Fri, 22 May 2020 13:06:02 +0000 (09:06 -0400)
This test was failing verification because the
metadata is ill-formed. This commit is split
from D80401 because it is an independent fix
(although the test would break with that change).

llvm/test/Transforms/SLPVectorizer/X86/crash_scheduling.ll

index 9108e84..7cb2568 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -basicaa -disable-verify -slp-vectorizer -S -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7 | FileCheck %s
+; RUN: opt < %s -basicaa -slp-vectorizer -S -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7 | FileCheck %s
 
 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-darwin13.3.0"
@@ -75,5 +75,7 @@ return:
 
 declare i32 @_xfn(<2 x double>) #4
 
-!3 = !{!"int", !4, i64 0}
+!3 = !{!"int", !5, i64 0}
 !4 = !{!3, !3, i64 0}
+!5 = !{!"omnipotent char", !6, i64 0}
+!6 = !{!"Simple C/C++ TBAA"}