This revision was automatically updated to reflect the committed changes.
Closed by commit rL365858: Handle IntToPtr in isBytewiseValue (authored by
vitalybuka, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D63967?vs=207180&id=209394#toc
Repository:
rL LLVM
CHANGES SINCE
vitalybuka marked an inline comment as done.
vitalybuka added inline comments.
Comment at: llvm/lib/Analysis/ValueTracking.cpp:3222
+ if (auto *CE = dyn_cast(C)) {
+if (CE->getOpcode() == Instruction::IntToPtr) {
@pcc BTW, your original patch just gave up
eugenis accepted this revision.
eugenis added a comment.
This revision is now accepted and ready to land.
LGTM
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63967/new/
https://reviews.llvm.org/D63967
_
vitalybuka created this revision.
Herald added subscribers: llvm-commits, cfe-commits, hiraditya.
Herald added projects: clang, LLVM.
This helps with more efficient use of memset for pattern initialization
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D63967
Files:
clang/tes