[llvm] [ConstantFolding] Support ptrtoaddr in cast folds (PR #162480)
Alexander Richardson via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 8 14:50:16 PDT 2025
================
@@ -2,6 +2,12 @@
; RUN: opt < %s -passes=instcombine -S | FileCheck %s
target datalayout = "p1:64:64:64:32"
----------------
arichardson wrote:
Good point! e should be fine though since this is definitely what we would want for CHERI.
https://github.com/llvm/llvm-project/pull/162480
More information about the llvm-commits
mailing list