From cf637a69e742a9b820a75882fe22512564fb271f Mon Sep 17 00:00:00 2001 From: Joe Ellis Date: Tue, 3 Nov 2020 15:24:41 +0000 Subject: [PATCH] [SVE][InstCombine] Improve specificity of InstCombine TypeSize test The test was using -O2, where -instcombine will suffice. Reviewed By: sdesmalen Differential Revision: https://reviews.llvm.org/D90684 --- .../InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll b/llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll index 6e8d0fd..c20128d 100644 --- a/llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll +++ b/llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -O2 -mtriple=aarch64-linux-gnu -mattr=+sve < %s 2>%t +; RUN: opt -S -instcombine < %s 2>%t ; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t ; This regression test is verifying that the optimization defined by -- 2.7.4