[PATCH] D99253: [InstCombine]Generalise regression tests for sve

Nashe Mncube via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 26 05:05:07 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGb723aa2a5ab2: [InstCombine]Generalise regression tests for sve (authored by nasherm).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99253/new/

https://reviews.llvm.org/D99253

Files:
  llvm/test/Transforms/InstCombine/AArch64/sve-bitcast-inseltpoison.ll
  llvm/test/Transforms/InstCombine/AArch64/sve-bitcast.ll
  llvm/test/Transforms/InstCombine/AArch64/sve-cast-of-alloc.ll
  llvm/test/Transforms/InstCombine/AArch64/sve-const-fp-splat.ll
  llvm/test/Transforms/InstCombine/AArch64/sve-trunc.ll
  llvm/test/Transforms/InstCombine/scalable-bitcast-inseltpoison.ll
  llvm/test/Transforms/InstCombine/scalable-bitcast.ll
  llvm/test/Transforms/InstCombine/scalable-cast-of-alloc.ll
  llvm/test/Transforms/InstCombine/scalable-const-fp-splat.ll
  llvm/test/Transforms/InstCombine/scalable-trunc.ll


Index: llvm/test/Transforms/InstCombine/scalable-trunc.ll
===================================================================
--- llvm/test/Transforms/InstCombine/scalable-trunc.ll
+++ llvm/test/Transforms/InstCombine/scalable-trunc.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -mtriple aarch64-linux-gnu -mattr=+sve -instcombine -S < %s 2>%t | FileCheck %s
+; RUN: opt -instcombine -S < %s 2>%t | FileCheck %s
 ; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t
 
 ; If this check fails please read test/CodeGen/AArch64/README for instructions on how to resolve it.
Index: llvm/test/Transforms/InstCombine/scalable-const-fp-splat.ll
===================================================================
--- llvm/test/Transforms/InstCombine/scalable-const-fp-splat.ll
+++ llvm/test/Transforms/InstCombine/scalable-const-fp-splat.ll
@@ -1,4 +1,4 @@
-; RUN: opt -instcombine -mtriple aarch64-linux-gnu -mattr=+sve -S -o - < %s 2>%t | FileCheck %s
+; RUN: opt -instcombine -S -o - < %s 2>%t | FileCheck %s
 ; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t
 
 ; If this check fails please read test/CodeGen/AArch64/README for instructions on how to resolve it.
Index: llvm/test/Transforms/InstCombine/scalable-cast-of-alloc.ll
===================================================================
--- llvm/test/Transforms/InstCombine/scalable-cast-of-alloc.ll
+++ llvm/test/Transforms/InstCombine/scalable-cast-of-alloc.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -instcombine -mtriple aarch64-linux-gnu -mattr=+sve -S < %s 2>%t | FileCheck %s
+; RUN: opt -instcombine -S < %s 2>%t | FileCheck %s
 ; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t
 
 ; If this check fails please read test/CodeGen/AArch64/README for instructions on how to resolve it.
Index: llvm/test/Transforms/InstCombine/scalable-bitcast.ll
===================================================================
--- llvm/test/Transforms/InstCombine/scalable-bitcast.ll
+++ llvm/test/Transforms/InstCombine/scalable-bitcast.ll
@@ -1,4 +1,4 @@
-; RUN: opt -instcombine -mtriple=aarch64-linux-gnu -mattr=+sve -S < %s | FileCheck %s
+; RUN: opt -instcombine -S < %s | FileCheck %s
 
 ; We shouldn't fold bitcast(insert <vscale x 1 x iX> .., iX %val, i32 0)
 ; into bitcast(iX %val) for scalable vectors.
Index: llvm/test/Transforms/InstCombine/scalable-bitcast-inseltpoison.ll
===================================================================
--- llvm/test/Transforms/InstCombine/scalable-bitcast-inseltpoison.ll
+++ llvm/test/Transforms/InstCombine/scalable-bitcast-inseltpoison.ll
@@ -1,4 +1,4 @@
-; RUN: opt -instcombine -mtriple=aarch64-linux-gnu -mattr=+sve -S < %s | FileCheck %s
+; RUN: opt -instcombine -S < %s | FileCheck %s
 
 ; We shouldn't fold bitcast(insert <vscale x 1 x iX> .., iX %val, i32 0)
 ; into bitcast(iX %val) for scalable vectors.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99253.333539.patch
Type: text/x-patch
Size: 2962 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210326/eef11f14/attachment.bin>


More information about the llvm-commits mailing list