Unverified Commit a0ce4384 authored by Björn Pettersson's avatar Björn Pettersson Committed by GitHub
Browse files

[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.
parent aca9019b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment