[all-commits] [llvm/llvm-project] 26dc40: [IR] Account for byte width in m_PtrAdd
Sergei Barannikov via All-commits
all-commits at lists.llvm.org
Tue Feb 4 06:02:05 PST 2025
Branch: refs/heads/users/s-barannikov/byte/5-match-ptradd
Home: https://github.com/llvm/llvm-project
Commit: 26dc400bb3e62f33c245082b9d29811d1444560c
https://github.com/llvm/llvm-project/commit/26dc400bb3e62f33c245082b9d29811d1444560c
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2025-02-04 (Tue, 04 Feb 2025)
Changed paths:
M llvm/include/llvm/IR/PatternMatch.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/unittests/IR/PatternMatch.cpp
Log Message:
-----------
[IR] Account for byte width in m_PtrAdd
The method has few uses yet, so just pass DL argument to it. The change
follows m_PtrToIntSameSize, and I don't see a better way of delivering
the byte width to the method.
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