diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-01-13 14:32:28 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-01-13 14:59:50 -0800 |
commit | 7ec8f43659861be42f9d600422678196849b6e90 (patch) | |
tree | f05dab8fd6790567bbf6b53dae4a27a1d31a6d07 /llvm/lib/Support/Program.cpp | |
parent | 39e6d242378a0b645abbdfc6c02de5ef8dcfb9ed (diff) | |
download | llvm-7ec8f43659861be42f9d600422678196849b6e90.zip llvm-7ec8f43659861be42f9d600422678196849b6e90.tar.gz llvm-7ec8f43659861be42f9d600422678196849b6e90.tar.bz2 |
[SPARC] Fix fp128 load/stores
The generated code for the split fp128 load/stores was missing a small yet important adjustment to the pointer metadata being fed into `getStore` and `getLoad`, making it out of sync with the effective memory address.
This problem often resulted in instructions being scheduled in the wrong order.
I also took this chance to clean up some "wrong" uses of `getAlignment` as done in D77687.
Thanks @jrtc27 for finding the problem and providing a patch.
Patch by LemonBoy and Jessica Clarke(jrtc27)
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D94345
Diffstat (limited to 'llvm/lib/Support/Program.cpp')
0 files changed, 0 insertions, 0 deletions