diff options
author | Qiu Chaofan <qiucofan@cn.ibm.com> | 2023-05-23 16:40:54 +0800 |
---|---|---|
committer | Qiu Chaofan <qiucofan@cn.ibm.com> | 2023-05-23 16:40:54 +0800 |
commit | 8064caf83fb166b709bfe0e7641c5181341cb064 (patch) | |
tree | 5a54a0f440b03b5dc0e635c3edf3230a6e3d8c97 /llvm/unittests/ADT/StringRefTest.cpp | |
parent | baeb85b5a99778956117d647b78b55be4f51a129 (diff) | |
download | llvm-8064caf83fb166b709bfe0e7641c5181341cb064.zip llvm-8064caf83fb166b709bfe0e7641c5181341cb064.tar.gz llvm-8064caf83fb166b709bfe0e7641c5181341cb064.tar.bz2 |
[PowerPC] Simplify fp-to-int store optimization
On PowerPC VSX targets, fp-to-int will be transformed into xscv with
mfvsr. When the result is to be stored, mfvsr can be replaced by a
direct store.
This change simplifies the optimization by using existing fp-to-int
code, which helps CSE and handling strictfp cases.
Reviewed By: shchenz
Differential Revision: https://reviews.llvm.org/D141473
Diffstat (limited to 'llvm/unittests/ADT/StringRefTest.cpp')
0 files changed, 0 insertions, 0 deletions