[llvm] f45a3f7 - [VectorCombine] NFC: rename test extract-cmp-binop.ll to extract-scalable.ll
Sander de Smalen via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 7 01:37:49 PDT 2022
Author: Sander de Smalen
Date: 2022-07-07T08:37:04Z
New Revision: f45a3f7f9bf9a656e8a08a9d64a6dd4dd61a47b6
URL: https://github.com/llvm/llvm-project/commit/f45a3f7f9bf9a656e8a08a9d64a6dd4dd61a47b6
DIFF: https://github.com/llvm/llvm-project/commit/f45a3f7f9bf9a656e8a08a9d64a6dd4dd61a47b6.diff
LOG: [VectorCombine] NFC: rename test extract-cmp-binop.ll to extract-scalable.ll
Added:
llvm/test/Transforms/VectorCombine/AArch64/extract-scalable.ll
Modified:
Removed:
llvm/test/Transforms/VectorCombine/AArch64/extract-cmp-binop.ll
################################################################################
diff --git a/llvm/test/Transforms/VectorCombine/AArch64/extract-cmp-binop.ll b/llvm/test/Transforms/VectorCombine/AArch64/extract-scalable.ll
similarity index 81%
rename from llvm/test/Transforms/VectorCombine/AArch64/extract-cmp-binop.ll
rename to llvm/test/Transforms/VectorCombine/AArch64/extract-scalable.ll
index 1a9a7ce3aebce..0b6ced730e7f2 100644
--- a/llvm/test/Transforms/VectorCombine/AArch64/extract-cmp-binop.ll
+++ b/llvm/test/Transforms/VectorCombine/AArch64/extract-scalable.ll
@@ -1,10 +1,11 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -passes=vector-combine -S %s | FileCheck %s
; Negative test for extract + cmp + binop - don't try this with scalable vectors.
; Moved from X86/extract-cmp-binop.ll
-define i1 @scalable(<vscale x 4 x i32> %a) {
-; CHECK-LABEL: @scalable(
+define i1 @extract_cmp_binop(<vscale x 4 x i32> %a) {
+; CHECK-LABEL: @extract_cmp_binop(
; CHECK-NEXT: [[E1:%.*]] = extractelement <vscale x 4 x i32> [[A:%.*]], i32 3
; CHECK-NEXT: [[E2:%.*]] = extractelement <vscale x 4 x i32> [[A]], i32 1
; CHECK-NEXT: [[CMP1:%.*]] = icmp sgt i32 [[E1]], 42
More information about the llvm-commits
mailing list