[llvm] 8caba9a - [InstCombine] Drop integral/non-integral check prefixes from test (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 25 02:12:53 PDT 2025
Author: Nikita Popov
Date: 2025-04-25T11:12:46+02:00
New Revision: 8caba9ab2165e9ad91c81efd8cd4a61954893bab
URL: https://github.com/llvm/llvm-project/commit/8caba9ab2165e9ad91c81efd8cd4a61954893bab
DIFF: https://github.com/llvm/llvm-project/commit/8caba9ab2165e9ad91c81efd8cd4a61954893bab.diff
LOG: [InstCombine] Drop integral/non-integral check prefixes from test (NFC)
The behavior is not affected by non-integral pointers. Keep the
RUN lines but drop the prefixes.
Added:
Modified:
llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll b/llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll
index 9d6f0abce84c7..c5282ce40acb1 100644
--- a/llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll
+++ b/llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll
@@ -3,13 +3,13 @@
; Note: the LLParser already does some constant folding, check that output first:
; RUN: opt -passes=verify -S < %s | FileCheck %s --check-prefixes=ALL,LLPARSER
; We should be able to fold almost everything in InstSimplify other than the final test which requries InstCombine
-; RUN: opt -S -passes=instsimplify < %s | FileCheck %s --allow-unused-prefixes --check-prefixes=ALL,CHECK,INTEGRAL,INSTSIMPLIFY,INTEGRAL-INSTSIMPLIFY
-; RUN: opt -S -passes=instcombine < %s | FileCheck %s --allow-unused-prefixes --check-prefixes=ALL,CHECK,INTEGRAL,INSTCOMBINE,INTEGRAL-INSTCOMBINE
+; RUN: opt -S -passes=instsimplify < %s | FileCheck %s --check-prefixes=ALL,CHECK,INSTSIMPLIFY
+; RUN: opt -S -passes=instcombine < %s | FileCheck %s --check-prefixes=ALL,CHECK,INSTCOMBINE
; Non-integral pointers limit certain transformations on pointers:
; RUN: sed -e 's/p:64:64:64:64/p:64:64:64:64-ni:1/g' %s | opt -S -passes=instsimplify | \
-; RUN: FileCheck %s --allow-unused-prefixes --check-prefixes=ALL,CHECK,NONINTEGRAL,INSTSIMPLIFY,NONINTEGRAL-INSTSIMPLIFY
+; RUN: FileCheck %s --check-prefixes=ALL,CHECK,INSTSIMPLIFY
; RUN: sed -e 's/p:64:64:64:64/p:64:64:64:64-ni:1/g' %s | opt -S -passes=instcombine | \
-; RUN: FileCheck %s --allow-unused-prefixes --check-prefixes=ALL,CHECK,NONINTEGRAL,INSTCOMBINE,NONINTEGRAL-INSTCOMBINE
+; RUN: FileCheck %s --check-prefixes=ALL,CHECK,INSTCOMBINE
target datalayout = "p:64:64:64:64"
declare void @use_i64(i64)
More information about the llvm-commits
mailing list