diff options
author | Ramkumar Ramachandra <ramkumar.ramachandra@codasip.com> | 2025-05-09 09:20:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-09 09:20:50 +0100 |
commit | 68dccb9fa0b09b3485acfc0d436c1d66a4089b8f (patch) | |
tree | b2faf34826f689cc823a43901635edba3a23957c /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 458991197d252e28ce4720a0770ef7d183435eeb (diff) | |
download | llvm-68dccb9fa0b09b3485acfc0d436c1d66a4089b8f.zip llvm-68dccb9fa0b09b3485acfc0d436c1d66a4089b8f.tar.gz llvm-68dccb9fa0b09b3485acfc0d436c1d66a4089b8f.tar.bz2 |
[LAA] Strip dead code in getStrideFromPointer (NFC) (#139140)
The SCEV multiply by 1 doesn't make sense, because SCEV would fold it:
therefore, the OrigPtr == Ptr branch effectively rejects a multiply.
However, in this branch, we have a pointer SCEV that cannot be a
multiply, and hence the code the code is dead. Strip it.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions