diff options
author | Stefan Pintilie <stefanp@ca.ibm.com> | 2021-03-11 05:44:55 -0600 |
---|---|---|
committer | Stefan Pintilie <stefanp@ca.ibm.com> | 2021-03-11 08:37:49 -0600 |
commit | e021de0aab221beaa03f73821ab41850e9c1bdb8 (patch) | |
tree | 641401e69876ef118ef3e0e235e31c3ae7fc8d29 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | 50c1b21851a175a38d82c482b7a589dfb0bf4c68 (diff) | |
download | llvm-e021de0aab221beaa03f73821ab41850e9c1bdb8.zip llvm-e021de0aab221beaa03f73821ab41850e9c1bdb8.tar.gz llvm-e021de0aab221beaa03f73821ab41850e9c1bdb8.tar.bz2 |
[PowerPC] Exploit paddi instruction on Power 10 for constant materialization
Starting with Power 10 the instruction paddi is available to use.
The instruction allows for immediates that are 34 bits.
This patch adds exploitation of the paddi instruction to allow us
to materialize constants.
Reviewed By: lei, amyk
Differential Revision: https://reviews.llvm.org/D93300
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions