[all-commits] [llvm/llvm-project] a4d6c7: [InstSimplify] Fold LoadInst for uniform constant ...
Kohei Asano via All-commits
all-commits at lists.llvm.org
Mon Feb 20 00:44:09 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a4d6c7dd99cbf1c802c633dc9f73a69131b03fe6
https://github.com/llvm/llvm-project/commit/a4d6c7dd99cbf1c802c633dc9f73a69131b03fe6
Author: Kohei Asano <kk.asano.luxy at gmail.com>
Date: 2023-02-20 (Mon, 20 Feb 2023)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstSimplify/load.ll
Log Message:
-----------
[InstSimplify] Fold LoadInst for uniform constant global variables
Fold LoadInst for uniformly initialized constants, even if there
are non-constant GEP indices.
Goal proof: https://alive2.llvm.org/ce/z/oZtVby
Motivated by https://github.com/rust-lang/rust/issues/107208
Differential Revision: https://reviews.llvm.org/D144184
More information about the All-commits
mailing list