aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Utils.cpp
diff options
context:
space:
mode:
authorTimm Bäder <tbaeder@redhat.com>2022-12-31 17:06:52 +0100
committerTimm Bäder <tbaeder@redhat.com>2023-03-02 09:45:18 +0100
commit6b5afda61c4ad6890e62cb8572a13a538316d31c (patch)
tree5efd2a7eedc6b05f5906d9f81f473ed052e3438e /llvm/lib/Transforms/Utils/Utils.cpp
parente0bc7790005a5da36d954fee6b20b441dec929d8 (diff)
downloadllvm-6b5afda61c4ad6890e62cb8572a13a538316d31c.zip
llvm-6b5afda61c4ad6890e62cb8572a13a538316d31c.tar.gz
llvm-6b5afda61c4ad6890e62cb8572a13a538316d31c.tar.bz2
[clang][Interp] Add ArrayElemPtr{,Pop} opcode
We usually access array elements in the same pattern, which uses narrow(). Add an extra opcode for this. This saves us quite some instructions and makes the bytecode easier to read. Differential Revision: https://reviews.llvm.org/D140805
Diffstat (limited to 'llvm/lib/Transforms/Utils/Utils.cpp')
0 files changed, 0 insertions, 0 deletions