From ed1ada752118a0aa12d10f7ec7b20c65b11038e8 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 1 Dec 2022 21:51:13 -0500 Subject: [PATCH] InstCombine: Don't use anonymous values in test Also don't use grep because it's not 2002. --- llvm/test/Transforms/InstCombine/X86/pr2645-1.ll | 89 ++++++++++++++++-------- 1 file changed, 59 insertions(+), 30 deletions(-) diff --git a/llvm/test/Transforms/InstCombine/X86/pr2645-1.ll b/llvm/test/Transforms/InstCombine/X86/pr2645-1.ll index 99cf523..9f35c97 100644 --- a/llvm/test/Transforms/InstCombine/X86/pr2645-1.ll +++ b/llvm/test/Transforms/InstCombine/X86/pr2645-1.ll @@ -1,39 +1,68 @@ -; RUN: opt < %s -passes=instcombine -S | grep shufflevector +; NOTE: Assertions have been autogenerated by utils/update_test_checks.py +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; PR2645 - ; instcombine shouldn't delete the shufflevector. -define internal void @""(i8*, i32, i8*) { -;