diff options
| author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2025-02-22 15:30:04 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-22 15:30:04 +0800 |
| commit | 126016b6620e1e64e1685e06f4c6bb1e5a2508ed (patch) | |
| tree | c78bb6bd1b511bfcb4e0871ff3d64b459c45bda1 /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | 60f3fdde880745ae4330c26eefe5f440986983f3 (diff) | |
[InstCombine] Simplify nonnull pointers (#128111)
This patch is the follow-up of
https://github.com/llvm/llvm-project/pull/127979. It introduces a helper
`simplifyNonNullOperand` to avoid duplicate logic. It also addresses the
one-use issue in `visitLoadInst`, as discussed in
https://github.com/llvm/llvm-project/pull/127979#issuecomment-2671013972.
The `nonnull` attribute is also supported. Proof:
https://alive2.llvm.org/ce/z/MCKgT9
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
