[all-commits] [llvm/llvm-project] d26002: [InstCombine] Fix use-after-free in OptimizePointe...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Apr 25 20:05:41 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d26002ac38ee1dea32053e7d12f1bb5dc420ac2d
https://github.com/llvm/llvm-project/commit/d26002ac38ee1dea32053e7d12f1bb5dc420ac2d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-04-26 (Fri, 26 Apr 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
Log Message:
-----------
[InstCombine] Fix use-after-free in OptimizePointerDifference()
EmitGEPOffset() may remove the old GEP, so be sure to cache the
inbounds flag beforehand.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list