diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-09-20 18:56:08 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-09-20 18:56:08 +0000 |
commit | 01a409520b39946bd4c7e86f83bc2d01d8c839d4 (patch) | |
tree | 32124fbd3fd908e7a83578cd2773040e7d7c4d0d /llvm/test/MC/WebAssembly/array-fill.ll | |
parent | be46b4e6d72a2689e59b6286d245c95a31b3a901 (diff) | |
download | bcm5719-llvm-01a409520b39946bd4c7e86f83bc2d01d8c839d4.tar.gz bcm5719-llvm-01a409520b39946bd4c7e86f83bc2d01d8c839d4.zip |
Consider only A.Sec in moveAbsRight.
The idea of this function is to simplify the implementation of binary
operators like add.
A value might be absolute because of an ABSOLUTE expression, but it
still depends on the value of a section and we might not be able to
evaluate it early. We should keep such values on the LHS, so that we
can delay the evaluation.
We can now handle both "1 + ABSOLUTE(foo)" and "ABSOLUTE(foo) + 1".
llvm-svn: 313794
Diffstat (limited to 'llvm/test/MC/WebAssembly/array-fill.ll')
0 files changed, 0 insertions, 0 deletions