llvm-project
2a624735 - [IR] Deprecate ConstantExpr::getGetElementPtr() (#227601)

Commit
10 days ago
[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.
Author
Parents
Loading