Logic basically copies 'and' but we can't return a constant if the
result == rhs (mask) so that case is skipped.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D156637
[InstCombine] Implement `SimplifyDemandedBits` for `llvm.ptrmask` AbandonedPublic Authored by goldstein.w.n on Jul 30 2023, 4:01 PM.
Details
Diff Detail
Event Timelinegoldstein.w.n added a child revision: D156638: [InstCombine] Preserve return attributes when merging `llvm.ptrmask`.Jul 30 2023, 4:03 PM goldstein.w.n added a parent revision: D156636: [InstCombine] Deduce `align` and `nonnull` return attributes for `llvm.ptrmask`.
Revision Contents
Diff 545481 llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/lib/Transforms/InstCombine/InstCombineInternal.h
llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
llvm/test/Transforms/InstCombine/align-addr.ll
llvm/test/Transforms/InstCombine/consecutive-ptrmask.ll
llvm/test/Transforms/InstCombine/ptrmask.ll
|