[all-commits] [llvm/llvm-project] 8dd9a1: [InstCombine] Preserve inbounds when merging with ...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Jan 1 14:08:35 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8dd9a1361958f0cc53d100124e158cbe691c4628
https://github.com/llvm/llvm-project/commit/8dd9a1361958f0cc53d100124e158cbe691c4628
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2020-01-01 (Wed, 01 Jan 2020)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/getelementptr.ll
Log Message:
-----------
[InstCombine] Preserve inbounds when merging with zero-index GEP (PR44423)
This addresses https://bugs.llvm.org/show_bug.cgi?id=44423.
If one of the GEPs is inbounds and the other is zero-index,
we can also preserve inbounds.
Differential Revision: https://reviews.llvm.org/D72060
More information about the All-commits
mailing list