diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-10-23 17:58:07 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-10-23 17:59:39 +0200 |
commit | 710596a1e15188171edd5c6fffe6b7fe483ca594 (patch) | |
tree | 29ce48fe686a3df59d1b274dfef2333b7cfd2b9d /clang/lib/Lex/ModuleMap.cpp | |
parent | d8e4170b0a1431edee939efc16b60b409affcb4d (diff) | |
download | llvm-710596a1e15188171edd5c6fffe6b7fe483ca594.zip llvm-710596a1e15188171edd5c6fffe6b7fe483ca594.tar.gz llvm-710596a1e15188171edd5c6fffe6b7fe483ca594.tar.bz2 |
[ConstantFolding] Accept offset in ConstantFoldLoadFromConstPtr (NFCI)
As this API is now internally offset-based, we can accept a starting
offset and remove the need to create a temporary bitcast+gep
sequence to perform an offset load. The API now mirrors the
ConstantFoldLoadFromConst() API.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions