[llvm-branch-commits] Utils: Inhibit load/store folding through phis for llvm.protected.field.ptr. (PR #151649)
Nikita Popov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Aug 1 00:55:23 PDT 2025
================
@@ -0,0 +1,33 @@
+; RUN: opt -O2 -S < %s | FileCheck %s
+
+; Test that no optimization run at -O2 moves the loads into the exit block,
+; as this causes unnecessary address escapes with pointer field protection.
+
+target triple = "aarch64-unknown-linux-gnu"
----------------
nikic wrote:
Needs to either drop the triple (more likely) or add REQUIRES.
https://github.com/llvm/llvm-project/pull/151649
More information about the llvm-branch-commits
mailing list