[all-commits] [llvm/llvm-project] 1b78ff: [InstCombine] Simplify the pointer operand of stor...
Yingwei Zheng via All-commits
all-commits at lists.llvm.org
Thu Feb 20 07:54:10 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1b78ff6972789d189fe0b403b403626328bf6a65
https://github.com/llvm/llvm-project/commit/1b78ff6972789d189fe0b403b403626328bf6a65
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2025-02-20 (Thu, 20 Feb 2025)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
M llvm/test/Transforms/InstCombine/store.ll
A llvm/test/Transforms/PhaseOrdering/load-store-sameval.ll
Log Message:
-----------
[InstCombine] Simplify the pointer operand of store if writing to null is UB (#127979)
Proof: https://alive2.llvm.org/ce/z/mzVj-u
I will add some follow-up patches to avoid duplicate code, support more
memory instructions, and bypass gep instructions.
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