[llvm-branch-commits] [llvm] [ConstantFolding] Avoid use of isNonIntegralPointerType() (PR #159959)
Alexander Richardson via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Sep 21 14:56:37 PDT 2025
https://github.com/arichardson updated https://github.com/llvm/llvm-project/pull/159959
>From 690f3086eda24b46fc5cc6e9093327c675c0ce21 Mon Sep 17 00:00:00 2001
From: Alex Richardson <alexrichardson at google.com>
Date: Sun, 21 Sep 2025 14:56:22 -0700
Subject: [PATCH] fix typo in comment
Created using spr 1.3.8-beta.1
---
.../InstSimplify/ConstProp/inttoptr-gep-nonintegral.ll | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/test/Transforms/InstSimplify/ConstProp/inttoptr-gep-nonintegral.ll b/llvm/test/Transforms/InstSimplify/ConstProp/inttoptr-gep-nonintegral.ll
index 16980b54f93ad..a9eeca1c2fa20 100644
--- a/llvm/test/Transforms/InstSimplify/ConstProp/inttoptr-gep-nonintegral.ll
+++ b/llvm/test/Transforms/InstSimplify/ConstProp/inttoptr-gep-nonintegral.ll
@@ -1,6 +1,6 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
-;; Check that we do not create new inttoptr intstructions for unstable pointers
+;; Check that we do not create new inttoptr instructions for unstable pointers
;; or pointers with external state (even if the values are all constants).
;; NOTE: for all but the zero address space, the GEP should only modify the low 8 bits of the pointer.
target datalayout = "p:16:16:16:16-p1:16:16:16:8-pu2:16:16:16:8-pe3:16:16:16:8"
More information about the llvm-branch-commits
mailing list