[all-commits] [llvm/llvm-project] 7d7001: [InstCombine] Restrict a GEP transform to avoid ch...
Simonas Kazlauskas via All-commits
all-commits at lists.llvm.org
Sun Mar 14 07:32:21 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7d7001b2cbd05bb1955c18e7f8668644bd1258dc
https://github.com/llvm/llvm-project/commit/7d7001b2cbd05bb1955c18e7f8668644bd1258dc
Author: Simonas Kazlauskas <git at kazlauskas.me>
Date: 2021-03-14 (Sun, 14 Mar 2021)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/getelementptr.ll
Log Message:
-----------
[InstCombine] Restrict a GEP transform to avoid changing provenance
This is an alternative to D98120. Herein, instead of deleting the transformation entirely, we check
that the underlying objects are both the same and therefore this transformation wouldn't incur a
provenance change, if applied.
https://alive2.llvm.org/ce/z/SYF_yv
Reviewed By: lebedev.ri
Differential Revision: https://reviews.llvm.org/D98588
More information about the All-commits
mailing list