[all-commits] [llvm/llvm-project] a0ce43: [LICM] Simplify isLoadInvariantInLoop given opaque...
Björn Pettersson via All-commits
all-commits at lists.llvm.org
Thu Sep 14 07:53:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a0ce4384a6cd618b86f3570e0d08c25cb382784d
https://github.com/llvm/llvm-project/commit/a0ce4384a6cd618b86f3570e0d08c25cb382784d
Author: Björn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2023-09-14 (Thu, 14 Sep 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/LICM.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list