diff options
author | Zi Xuan Wu <zixuan.wu@linux.alibaba.com> | 2022-01-11 16:13:21 +0800 |
---|---|---|
committer | Zi Xuan Wu <zixuan.wu@linux.alibaba.com> | 2022-01-11 16:17:11 +0800 |
commit | 065e0324e5e4a281abc199d6e4e45d7bc852a486 (patch) | |
tree | 3d3cbb69feb390cbcbc6967d0760c2316ad762c4 /llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp | |
parent | 98d51c2542dc63608d3e98de415e090030e3ace1 (diff) | |
download | llvm-065e0324e5e4a281abc199d6e4e45d7bc852a486.zip llvm-065e0324e5e4a281abc199d6e4e45d7bc852a486.tar.gz llvm-065e0324e5e4a281abc199d6e4e45d7bc852a486.tar.bz2 |
[CSKY] Add CSKYConstantIslands Pass to lift or duplicate constant pool entry
Loading constants inline is expensive on CSKY and it's in general better
to place the constant nearby in code space and then it can be loaded with a
simple 16/32 bit load instruction like lrw.
It needs lift or duplicates constant pool entry to make constant nearby so that lrw instruction can reach.
Diffstat (limited to 'llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp')
0 files changed, 0 insertions, 0 deletions