diff options
| author | Akira Hatanaka <ahatanaka@mips.com> | 2013-03-01 21:52:08 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@mips.com> | 2013-03-01 21:52:08 +0000 |
| commit | ee767fe2d2d742630d2fd40f91f3c54e35cc0668 (patch) | |
| tree | 0407bf7c3b6a31ce8b0bb7da15799b74fd46a323 /unittests/Bitcode/BitReaderTest.cpp | |
| parent | c2171eb3ffb0aaa845de15437cadf2a298f1ea61 (diff) | |
| download | external_llvm-ee767fe2d2d742630d2fd40f91f3c54e35cc0668.zip external_llvm-ee767fe2d2d742630d2fd40f91f3c54e35cc0668.tar.gz external_llvm-ee767fe2d2d742630d2fd40f91f3c54e35cc0668.tar.bz2 | |
[mips] Fix inefficient code generation.
This patch eliminates the need to emit a constant move instruction when this
pattern is matched:
(select (setgt a, Constant), T, F)
The pattern above effectively turns into this:
(conditional-move (setlt a, Constant + 1), F, T)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176384 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Bitcode/BitReaderTest.cpp')
0 files changed, 0 insertions, 0 deletions
