diff options
author | Kohei Asano <kk.asano.luxy@gmail.com> | 2023-02-20 09:38:03 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-02-20 09:43:52 +0100 |
commit | a4d6c7dd99cbf1c802c633dc9f73a69131b03fe6 (patch) | |
tree | 6d20c7e25cc6baf517a3fa159310a8fc33e501b8 /llvm/lib/Support/Signposts.cpp | |
parent | 78cd158cf92ce5abdf5e68230b68b06b57354a0f (diff) | |
download | llvm-a4d6c7dd99cbf1c802c633dc9f73a69131b03fe6.zip llvm-a4d6c7dd99cbf1c802c633dc9f73a69131b03fe6.tar.gz llvm-a4d6c7dd99cbf1c802c633dc9f73a69131b03fe6.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Support/Signposts.cpp')
0 files changed, 0 insertions, 0 deletions