[llvm] [Attr] Add `noipa` function attribute (PR #203304)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 17 01:47:06 PDT 2026


================
@@ -0,0 +1,33 @@
+; RUN: opt -S -passes=wholeprogramdevirt -whole-program-visibility %s | FileCheck %s
+
+; The `noipa` attribute prevents interprocedural function body inspection,
+; including this virtual constant propagation transformation.
+
+target datalayout = "e-p:64:64"
+target triple = "x86_64-unknown-linux-gnu"
----------------
nikic wrote:

I don't think you need the triple / DL.

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


More information about the llvm-commits mailing list