diff options
| author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2019-04-03 15:09:19 +0000 |
|---|---|---|
| committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2019-04-03 15:09:19 +0000 |
| commit | 35dfd1b7dfe9ca5ac7b61a2bee94e227fefc066a (patch) | |
| tree | 1c3787ebf0cb9057f9535adf65f8e312d3de9013 /llvm/lib/Object/ModuleSymbolTable.cpp | |
| parent | ff3397247fc08f0b8af9905323a760db1a0902a9 (diff) | |
| download | llvm-35dfd1b7dfe9ca5ac7b61a2bee94e227fefc066a.zip llvm-35dfd1b7dfe9ca5ac7b61a2bee94e227fefc066a.tar.gz llvm-35dfd1b7dfe9ca5ac7b61a2bee94e227fefc066a.tar.bz2 | |
[SystemZ] Improve codegen for certain SADDO-immediate cases
When performing an add-with-overflow with an immediate in the
range -2G ... -4G, code currently loads the immediate into a
register, which generally takes two instructions.
In this particular case, it is preferable to load the negated
immediate into a register instead, which always only requires
one instruction, and then perform a subtract.
llvm-svn: 357597
Diffstat (limited to 'llvm/lib/Object/ModuleSymbolTable.cpp')
0 files changed, 0 insertions, 0 deletions
