[llvm] [Value] Look through inttoptr (add ..) in accumulateConstantOffsets (PR #124981)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 29 12:48:04 PST 2025


================
@@ -0,0 +1,84 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -p instcombine -S %s | FileCheck %s
+
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
----------------
nikic wrote:

Is the data layout necessary?

https://github.com/llvm/llvm-project/pull/124981


More information about the llvm-commits mailing list