[PATCH] D90684: [SVE][InstCombine] Improve specificity of InstCombine TypeSize test

Joe Ellis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 3 06:42:42 PST 2020


joechrisellis created this revision.
joechrisellis added reviewers: sdesmalen, peterwaller-arm.
Herald added subscribers: llvm-commits, psnobl, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: LLVM.
joechrisellis requested review of this revision.

The test was using -O2, where -instcombine will suffice.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90684

Files:
  llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll


Index: llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll
===================================================================
--- llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll
+++ 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 -mtriple=aarch64-linux-gnu -mattr=+sve < %s 2>%t
 ; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t
 
 ; This regression test is verifying that the optimization defined by


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90684.302568.patch
Type: text/x-patch
Size: 612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201103/b6dc9b46/attachment.bin>


More information about the llvm-commits mailing list