diff options
author | Jay Foad <jay.foad@amd.com> | 2019-10-24 13:15:45 +0100 |
---|---|---|
committer | Jay Foad <jay.foad@amd.com> | 2019-10-28 18:32:39 +0000 |
commit | 843c0adf0f7449a4167d20b399f70f6943d21d5e (patch) | |
tree | 7de8622b541b94b133f69c5ae64ee455677a4b7e /llvm/lib/CodeGen | |
parent | f2132070d9a5a330400744aa14819344d0b44151 (diff) | |
download | bcm5719-llvm-843c0adf0f7449a4167d20b399f70f6943d21d5e.tar.gz bcm5719-llvm-843c0adf0f7449a4167d20b399f70f6943d21d5e.zip |
[ConstantFold] Fold extractelement of getelementptr
Summary:
Getelementptr has vector type if any of its operands are vectors
(the scalar operands being implicitly broadcast to all vector elements).
Extractelement applied to a vector getelementptr can be folded by
applying the extractelement in turn to all of the vector operands.
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69379
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions