[all-commits] [llvm/llvm-project] 2a6247: [IR] Deprecate ConstantExpr::getGetElementPtr() (#...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Sep 30 05:45:32 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2a6247359ee523096aaf28297bd2ac09c721ce66
https://github.com/llvm/llvm-project/commit/2a6247359ee523096aaf28297bd2ac09c721ce66
Author: Nikita Popov <npopov at redhat.com>
Date: 2026-09-30 (Wed, 30 Sep 2026)
Changed paths:
M llvm/include/llvm/IR/Constants.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/IR/Core.cpp
M llvm/unittests/IR/ConstantsTest.cpp
Log Message:
-----------
[IR] Deprecate ConstantExpr::getGetElementPtr() (#227601)
This deprecates various `ConstantExpr::getGetElementPtr()` overloads, in
favor of either `ConstantExpr::getPtrAdd()`, or the overload taking a
`DataLayout` (which converts GEP indices to ptradd).
Part of the ptradd migration.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list