aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/StringRefTest.cpp
diff options
context:
space:
mode:
authorQiu Chaofan <qiucofan@cn.ibm.com>2023-05-23 16:40:54 +0800
committerQiu Chaofan <qiucofan@cn.ibm.com>2023-05-23 16:40:54 +0800
commit8064caf83fb166b709bfe0e7641c5181341cb064 (patch)
tree5a54a0f440b03b5dc0e635c3edf3230a6e3d8c97 /llvm/unittests/ADT/StringRefTest.cpp
parentbaeb85b5a99778956117d647b78b55be4f51a129 (diff)
downloadllvm-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