[all-commits] [llvm/llvm-project] a213f7: [IR] Deprecate GetElementPtrInst::CreateInBounds w...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Sun Jul 4 07:50:04 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a213f735d8113de5428bd23cf97153dcda0e2e71
https://github.com/llvm/llvm-project/commit/a213f735d8113de5428bd23cf97153dcda0e2e71
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-07-04 (Sun, 04 Jul 2021)
Changed paths:
M llvm/include/llvm/IR/Instructions.h
M llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
Log Message:
-----------
[IR] Deprecate GetElementPtrInst::CreateInBounds without element type
This API is not compatible with opaque pointers, the method
accepting an explicit pointer element type should be used instead.
Thankfully there were few in-tree users. The BPF case still ends
up using the pointer element type for now and needs something like
D105407 to avoid doing so.
More information about the All-commits
mailing list