aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/ConstantFold.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-06-23 15:57:38 +0200
committerNikita Popov <nikita.ppv@gmail.com>2021-06-23 18:44:34 +0200
commit00d3f7cc3c264adc360d0282ba8a27de2a004b94 (patch)
tree5f25dccf8d1ce290dc601e7de954214b53126e25 /llvm/lib/IR/ConstantFold.cpp
parent6cc6ada143236f16faf8b383d73e00e709fa6a9f (diff)
downloadllvm-00d3f7cc3c264adc360d0282ba8a27de2a004b94.zip
llvm-00d3f7cc3c264adc360d0282ba8a27de2a004b94.tar.gz
llvm-00d3f7cc3c264adc360d0282ba8a27de2a004b94.tar.bz2
[LAA] Make getPointersDiff() API compatible with opaque pointers
Make getPointersDiff() and sortPtrAccesses() compatible with opaque pointers by explicitly passing in the element type instead of determining it from the pointer element type. The SLPVectorizer result is slightly non-optimal in that unnecessary pointer bitcasts are added. Differential Revision: https://reviews.llvm.org/D104784
Diffstat (limited to 'llvm/lib/IR/ConstantFold.cpp')
0 files changed, 0 insertions, 0 deletions