diff options
author | Björn Pettersson <bjorn.a.pettersson@ericsson.com> | 2023-09-14 16:53:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-14 16:53:34 +0200 |
commit | a0ce4384a6cd618b86f3570e0d08c25cb382784d (patch) | |
tree | 8eb764698b5590886d69d19a3d75e80848d91e8d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | aca9019be0460a3823e22a52f1cf9c18a965a5fb (diff) | |
download | llvm-a0ce4384a6cd618b86f3570e0d08c25cb382784d.zip llvm-a0ce4384a6cd618b86f3570e0d08c25cb382784d.tar.gz llvm-a0ce4384a6cd618b86f3570e0d08c25cb382784d.tar.bz2 |
[LICM] Simplify isLoadInvariantInLoop given opaque pointers (#65597)
Since we no longer support typed pointers in LLVM IR, the PtrASXTy
in isLoadInvariantInLoop was set to be equal to Addr->getType() (an
opaque ptr in the same address space). That made the loop looking
through bitcasts redundant.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions