[clang] [llvm] [IR] Require DataLayout for pointer cast elimination (PR #162279)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 7 06:05:58 PDT 2025


================
@@ -44,16 +44,6 @@ entry:
   ret void
 }
 
-define void @stores_ptrtoint_constexpr() {
----------------
nikic wrote:

Deleting this function seemed like the best way to preserve the overall test intent. Previously this ended up folding during IR construction, so the constant expression here was effectively not present at all.

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


More information about the cfe-commits mailing list